summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/var.tests
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-11 12:57:35 +0000
committerDenis Vlasenko2007-05-11 12:57:35 +0000
commit119b995437c52a164b2c5e51ef918c3f46b8a130 (patch)
tree831d555b51a3a6b4dd9160b1eb782f8b3d370660 /shell/hush_test/hush-vars/var.tests
parent3e9aaae5dc384ae070c49507a92b1375397954cd (diff)
downloadbusybox-119b995437c52a164b2c5e51ef918c3f46b8a130.zip
busybox-119b995437c52a164b2c5e51ef918c3f46b8a130.tar.gz
hush: reinstate hush_test, add testcases for process subst
Diffstat (limited to 'shell/hush_test/hush-vars/var.tests')
-rwxr-xr-xshell/hush_test/hush-vars/var.tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/var.tests b/shell/hush_test/hush-vars/var.tests
new file mode 100755
index 0000000..b0637ea
--- /dev/null
+++ b/shell/hush_test/hush-vars/var.tests
@@ -0,0 +1,10 @@
+URL=http://busybox.net
+
+echo $URL
+echo ${URL}_abc
+
+true
+false; echo $?
+true
+# BUG: prints 0, must be 1
+{ false; echo $?; }