aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-05 17:48:47 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-05 17:48:47 +0000
commitda4d5e54fbc05aece1baf19b46d33c8bbb2341df (patch)
treef0bb89a076995f6b95b1b5ca32c4191bf46ad0fe /tests
parent3728d1a7934ffafd6b8d11d98c96aa437dcf01b5 (diff)
downloadbusybox-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.testcases6
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
28if true || false; then echo foo; else echo bar5; fi 28if true || false; then echo foo; else echo bar5; fi
29if true && false; then echo bar6; else echo foo; fi 29if true && false; then echo bar6; else echo foo; fi
30 30
31# make sure we can duplicate file descriptors properly
32echo replacement >foo 2>&1
33cat foo
34cat doesnt_exist >foo 2>&1
35tr '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
32unset TMP 38unset TMP
33rm -f fish 39rm -f fish