aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-15 19:58:19 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-15 19:58:19 +0100
commit647553a4fcbbc169b4390d9ef8e4657f0ffe1a5f (patch)
tree974dde9bc45566319f8b9750b6397fbafe94ad43 /shell/hush_test
parentff1822aed159e1c1b5a92dc5c1fd1648b026f8f4 (diff)
downloadbusybox-647553a4fcbbc169b4390d9ef8e4657f0ffe1a5f.tar.gz
hush: wait for `cmd` to complete, and immediately store its exitcode in $?
function old new delta expand_vars_to_list 2129 2197 +68 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test')
-rw-r--r--shell/hush_test/hush-psubst/tick5.right1
-rwxr-xr-xshell/hush_test/hush-psubst/tick5.tests1
2 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush_test/hush-psubst/tick5.right b/shell/hush_test/hush-psubst/tick5.right
new file mode 100644
index 000000000..d00491fd7
--- /dev/null
+++ b/shell/hush_test/hush-psubst/tick5.right
@@ -0,0 +1 @@
+1
diff --git a/shell/hush_test/hush-psubst/tick5.tests b/shell/hush_test/hush-psubst/tick5.tests
new file mode 100755
index 000000000..bd160c9fc
--- /dev/null
+++ b/shell/hush_test/hush-psubst/tick5.tests
@@ -0,0 +1 @@
+true; echo `false` $?