aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-31 10:34:48 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-31 10:34:48 +0000
commitd498131168005ccc4768b9c92d7e3c3547e390df (patch)
tree899ee471e327b9aea2889b599ed0b01290c5289c /shell/hush_test/hush-vars
parentf173607520e0455d267a7a4100e5018f30000c56 (diff)
downloadbusybox-d498131168005ccc4768b9c92d7e3c3547e390df.tar.gz
hush: support $_NUMBERS variable names
Diffstat (limited to 'shell/hush_test/hush-vars')
-rw-r--r--shell/hush_test/hush-vars/var1.right (renamed from shell/hush_test/hush-vars/var.right)0
-rwxr-xr-xshell/hush_test/hush-vars/var1.tests (renamed from shell/hush_test/hush-vars/var.tests)0
-rw-r--r--shell/hush_test/hush-vars/var2.right2
-rwxr-xr-xshell/hush_test/hush-vars/var2.tests4
4 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/var.right b/shell/hush_test/hush-vars/var1.right
index 14b2314d9..14b2314d9 100644
--- a/shell/hush_test/hush-vars/var.right
+++ b/shell/hush_test/hush-vars/var1.right
diff --git a/shell/hush_test/hush-vars/var.tests b/shell/hush_test/hush-vars/var1.tests
index 0a63696c9..0a63696c9 100755
--- a/shell/hush_test/hush-vars/var.tests
+++ b/shell/hush_test/hush-vars/var1.tests
diff --git a/shell/hush_test/hush-vars/var2.right b/shell/hush_test/hush-vars/var2.right
new file mode 100644
index 000000000..40bf4bff4
--- /dev/null
+++ b/shell/hush_test/hush-vars/var2.right
@@ -0,0 +1,2 @@
+http://busybox.net
+http://busybox.net_abc
diff --git a/shell/hush_test/hush-vars/var2.tests b/shell/hush_test/hush-vars/var2.tests
new file mode 100755
index 000000000..1292410f3
--- /dev/null
+++ b/shell/hush_test/hush-vars/var2.tests
@@ -0,0 +1,4 @@
+_1=http://busybox.net
+
+echo $_1
+echo ${_1}_abc