aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-14 22:09:52 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-14 22:09:52 +0000
commitd6050949b8e9f3573c43d6d8e2cdbe5fe1265e2b (patch)
tree8498cd5e967a6cea77f20d6dbd452bcfb95eb618 /shell/hush_test/hush-parsing
parent764d59d48848121d89b31ddecf0130ce24a4d91b (diff)
downloadbusybox-d6050949b8e9f3573c43d6d8e2cdbe5fe1265e2b.tar.gz
hush: move testsuite files from hush-bugs to hush-parsing
(as these bugs are now fixed)
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r--shell/hush_test/hush-parsing/argv0.right1
-rwxr-xr-xshell/hush_test/hush-parsing/argv0.tests4
-rw-r--r--shell/hush_test/hush-parsing/quote2.right1
-rwxr-xr-xshell/hush_test/hush-parsing/quote2.tests2
4 files changed, 8 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/argv0.right b/shell/hush_test/hush-parsing/argv0.right
new file mode 100644
index 000000000..d86bac9de
--- /dev/null
+++ b/shell/hush_test/hush-parsing/argv0.right
@@ -0,0 +1 @@
+OK
diff --git a/shell/hush_test/hush-parsing/argv0.tests b/shell/hush_test/hush-parsing/argv0.tests
new file mode 100755
index 000000000..f5c40f6fe
--- /dev/null
+++ b/shell/hush_test/hush-parsing/argv0.tests
@@ -0,0 +1,4 @@
+if test $# = 0; then
+ exec "$THIS_SH" "$0" arg
+fi
+echo OK
diff --git a/shell/hush_test/hush-parsing/quote2.right b/shell/hush_test/hush-parsing/quote2.right
new file mode 100644
index 000000000..3bc9edcd6
--- /dev/null
+++ b/shell/hush_test/hush-parsing/quote2.right
@@ -0,0 +1 @@
+>1
diff --git a/shell/hush_test/hush-parsing/quote2.tests b/shell/hush_test/hush-parsing/quote2.tests
new file mode 100755
index 000000000..bd966f30b
--- /dev/null
+++ b/shell/hush_test/hush-parsing/quote2.tests
@@ -0,0 +1,2 @@
+a=1
+echo ">$a"