projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c616e53
)
Added a new testcase from Larry Doolittle (inspired by a note from Vadim
author
Matt Kraai
<kraai@debian.org>
Tue, 5 Jun 2001 17:48:47 +0000
(17:48 -0000)
committer
Matt Kraai
<kraai@debian.org>
Tue, 5 Jun 2001 17:48:47 +0000
(17:48 -0000)
Berkgaut).
tests/sh.testcases
patch
|
blob
|
history
diff --git
a/tests/sh.testcases
b/tests/sh.testcases
index 9b5c8da597e2131809d15fc9b7d8ee9086f46af1..88e709f879b8851f2d924359477f192d379c349b 100644
(file)
--- 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
if true || false; then echo foo; else echo bar5; fi
if true && false; then echo bar6; else echo foo; fi
+# make sure we can duplicate file descriptors properly
+echo replacement >foo 2>&1
+cat foo
+cat doesnt_exist >foo 2>&1
+tr 'a-z' 'A-Z' <foo
+
# fairly simple example of hush expanding variables too early
unset TMP
rm -f fish