diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-05 17:48:47 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-05 17:48:47 +0000 |
commit | da4d5e54fbc05aece1baf19b46d33c8bbb2341df (patch) | |
tree | f0bb89a076995f6b95b1b5ca32c4191bf46ad0fe /tests | |
parent | 3728d1a7934ffafd6b8d11d98c96aa437dcf01b5 (diff) | |
download | busybox-w32-da4d5e54fbc05aece1baf19b46d33c8bbb2341df.tar.gz busybox-w32-da4d5e54fbc05aece1baf19b46d33c8bbb2341df.tar.bz2 busybox-w32-da4d5e54fbc05aece1baf19b46d33c8bbb2341df.zip |
Added a new testcase from Larry Doolittle (inspired by a note from Vadim
Berkgaut).
git-svn-id: svn://busybox.net/trunk/busybox@2794 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sh.testcases | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sh.testcases b/tests/sh.testcases index 9b5c8da59..88e709f87 100644 --- a/tests/sh.testcases +++ b/tests/sh.testcases | |||
@@ -28,6 +28,12 @@ if false; then tr 'A-Z' 'a-z'; else echo bar4; fi <foo | |||
28 | if true || false; then echo foo; else echo bar5; fi | 28 | if true || false; then echo foo; else echo bar5; fi |
29 | if true && false; then echo bar6; else echo foo; fi | 29 | if true && false; then echo bar6; else echo foo; fi |
30 | 30 | ||
31 | # make sure we can duplicate file descriptors properly | ||
32 | echo replacement >foo 2>&1 | ||
33 | cat foo | ||
34 | cat doesnt_exist >foo 2>&1 | ||
35 | tr 'a-z' 'A-Z' <foo | ||
36 | |||
31 | # fairly simple example of hush expanding variables too early | 37 | # fairly simple example of hush expanding variables too early |
32 | unset TMP | 38 | unset TMP |
33 | rm -f fish | 39 | rm -f fish |