diff options
author | Denis Vlasenko | 2007-05-13 18:34:53 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-05-13 18:34:53 +0000 |
commit | 602d13cba552fadb8481283aa7872a4b9f206c48 (patch) | |
tree | 224cc9027daa059db593e561526a8bb13f95de25 /shell/hush_test/hush-bugs/argv0.tests | |
parent | 119b995437c52a164b2c5e51ef918c3f46b8a130 (diff) | |
download | busybox-602d13cba552fadb8481283aa7872a4b9f206c48.zip busybox-602d13cba552fadb8481283aa7872a4b9f206c48.tar.gz |
hush: fix '{ false; echo $?; }' bug.
hush: expand testsuite. variable expansion is still very broken
Diffstat (limited to 'shell/hush_test/hush-bugs/argv0.tests')
-rwxr-xr-x | shell/hush_test/hush-bugs/argv0.tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-bugs/argv0.tests b/shell/hush_test/hush-bugs/argv0.tests new file mode 100755 index 0000000..f5c40f6 --- /dev/null +++ b/shell/hush_test/hush-bugs/argv0.tests @@ -0,0 +1,4 @@ +if test $# = 0; then + exec "$THIS_SH" "$0" arg +fi +echo OK |