Added a new testcase from Larry Doolittle (inspired by a note from Vadim
Berkgaut).
This commit is contained in:
parent
c616e53ca2
commit
12422ffe3e
@ -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 foo; else echo bar5; fi
|
||||||
if true && false; then echo bar6; else echo foo; 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
|
# fairly simple example of hush expanding variables too early
|
||||||
unset TMP
|
unset TMP
|
||||||
rm -f fish
|
rm -f fish
|
||||||
|
Loading…
Reference in New Issue
Block a user