summaryrefslogtreecommitdiff
path: root/shell/ash_test/run-all
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-24 19:46:38 +0000
committerDenis Vlasenko2008-07-24 19:46:38 +0000
commit5a867317bb1cbf36d396d9cdb552212607dcc2b1 (patch)
treee8c01f8c4f8242694db730eed60a3616e86f3a48 /shell/ash_test/run-all
parent6fbb43bc3c14fc30030cae77db51c322bece30ab (diff)
downloadbusybox-5a867317bb1cbf36d396d9cdb552212607dcc2b1.zip
busybox-5a867317bb1cbf36d396d9cdb552212607dcc2b1.tar.gz
ash: fix a bug where redirection fds were not closed afterwards.
optimize close+fcntl(DUPFD) into dup2. add testsuites. function old new delta copyfd 47 68 +21 argstr 1311 1298 -13 popredir 148 131 -17 redirect 1139 1107 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 21/-62) Total: -41 bytes
Diffstat (limited to 'shell/ash_test/run-all')
-rwxr-xr-xshell/ash_test/run-all4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash_test/run-all b/shell/ash_test/run-all
index b0a6d10..4d0f39a 100755
--- a/shell/ash_test/run-all
+++ b/shell/ash_test/run-all
@@ -3,8 +3,8 @@
TOPDIR=$PWD
test -x ash || {
- echo "No ./ash?! Perhaps you want to run 'ln -s ../../busybox ash'"
- exit
+ echo "No ./ash - creating a link to ../../busybox"
+ ln -s ../../busybox ash
}
test -x printenv || gcc -O2 -o printenv printenv.c || exit $?
test -x recho || gcc -O2 -o recho recho.c || exit $?