diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-11 12:57:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-11 12:57:35 +0000 |
commit | 119b995437c52a164b2c5e51ef918c3f46b8a130 (patch) | |
tree | 831d555b51a3a6b4dd9160b1eb782f8b3d370660 /shell/hush_test/hush-parsing | |
parent | 3e9aaae5dc384ae070c49507a92b1375397954cd (diff) | |
download | busybox-119b995437c52a164b2c5e51ef918c3f46b8a130.tar.gz |
hush: reinstate hush_test, add testcases for process subst
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r-- | shell/hush_test/hush-parsing/noeol.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-parsing/noeol.tests | 2 | ||||
-rw-r--r-- | shell/hush_test/hush-parsing/process_subst.right | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-parsing/process_subst.tests | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/shell/hush_test/hush-parsing/noeol.right b/shell/hush_test/hush-parsing/noeol.right new file mode 100644 index 000000000..e427984d4 --- /dev/null +++ b/shell/hush_test/hush-parsing/noeol.right @@ -0,0 +1 @@ +HELLO diff --git a/shell/hush_test/hush-parsing/noeol.tests b/shell/hush_test/hush-parsing/noeol.tests new file mode 100755 index 000000000..a93113a03 --- /dev/null +++ b/shell/hush_test/hush-parsing/noeol.tests @@ -0,0 +1,2 @@ +# next line has no EOL! +echo HELLO
\ No newline at end of file diff --git a/shell/hush_test/hush-parsing/process_subst.right b/shell/hush_test/hush-parsing/process_subst.right new file mode 100644 index 000000000..8f9ab9d40 --- /dev/null +++ b/shell/hush_test/hush-parsing/process_subst.right @@ -0,0 +1,2 @@ +TESTzzBEST +TEST$(echo zz)BEST diff --git a/shell/hush_test/hush-parsing/process_subst.tests b/shell/hush_test/hush-parsing/process_subst.tests new file mode 100755 index 000000000..f8299a514 --- /dev/null +++ b/shell/hush_test/hush-parsing/process_subst.tests @@ -0,0 +1,2 @@ +echo "TEST`echo zz;echo;echo`BEST" +echo "TEST`echo '$(echo zz)'`BEST" |