core/tsrc/fshell-basic-test.script
changeset 75 3c3961c1ae26
parent 60 3ad902ef5222
--- a/core/tsrc/fshell-basic-test.script	Wed Sep 15 00:45:50 2010 +0100
+++ b/core/tsrc/fshell-basic-test.script	Fri Sep 17 20:24:30 2010 +0100
@@ -107,7 +107,9 @@
 
 export FILE c:\fshell-basic-test.txt
 rm $FILE 2>/dev/null &| echo -n "" # I don't like using "&| echo" syntax to indicate don't care if it fails. Probably rm -f should be quiet like unix version
+exists $FILE && $Error
 echo -n "Testing file redirection" > c:\fshell-basic-test.txt
+exists $FILE || $Error
 
 # The redirect stdin operation doesn't get used much
 export -s FILECONTENTS < $FILE