diff options
author | Denis Vlasenko | 2009-04-10 00:20:58 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-10 00:20:58 +0000 |
commit | c96865f4458f357df41eeea73d456e15755b51f4 (patch) | |
tree | 2ff83e9aa8062a05aea94c9b576af5f5c8870b55 /shell/hush_test/hush-misc/redir1.tests | |
parent | e05f9286a943eb74bdcdead86c016e6c8cc5c082 (diff) | |
download | busybox-c96865f4458f357df41eeea73d456e15755b51f4.zip busybox-c96865f4458f357df41eeea73d456e15755b51f4.tar.gz |
hush: readability improvements.
fix some more obscure bugs.
a new redir4.tests is known to fail.
Diffstat (limited to 'shell/hush_test/hush-misc/redir1.tests')
-rwxr-xr-x | shell/hush_test/hush-misc/redir1.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/redir1.tests b/shell/hush_test/hush-misc/redir1.tests index 7e20451..70e9e17 100755 --- a/shell/hush_test/hush-misc/redir1.tests +++ b/shell/hush_test/hush-misc/redir1.tests @@ -1,5 +1,11 @@ rm shell_test_$$ 2>/dev/null var=bad +>shell_test_$$ var=ok +echo "Test 0: var:$var" +test -f shell_test_$$ && echo "File created:ok" + +rm shell_test_$$ 2>/dev/null +var=bad var=ok >shell_test_$$ echo "Test 1: var:$var" test -f shell_test_$$ && echo "File created:ok" |