diff options
author | Matt Kraai <kraai@debian.org> | 2001-06-05 17:48:47 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-06-05 17:48:47 +0000 |
commit | 12422ffe3eb9a27f40a0e8dfd003010c374b7593 (patch) | |
tree | f0bb89a076995f6b95b1b5ca32c4191bf46ad0fe | |
parent | c616e53ca2d5a46ee5a2b7f272b1b611f01836eb (diff) | |
download | busybox-w32-12422ffe3eb9a27f40a0e8dfd003010c374b7593.tar.gz busybox-w32-12422ffe3eb9a27f40a0e8dfd003010c374b7593.tar.bz2 busybox-w32-12422ffe3eb9a27f40a0e8dfd003010c374b7593.zip |
Added a new testcase from Larry Doolittle (inspired by a note from Vadim
Berkgaut).
-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 |