[Swift-commit] r4250 - trunk/tests/functions

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Sun Apr 3 16:12:43 CDT 2011


Author: wozniak
Date: 2011-04-03 16:12:42 -0500 (Sun, 03 Apr 2011)
New Revision: 4250

Modified:
   trunk/tests/functions/500-exists.check.sh
Log:
Implement check script


Modified: trunk/tests/functions/500-exists.check.sh
===================================================================
--- trunk/tests/functions/500-exists.check.sh	2011-04-03 21:12:04 UTC (rev 4249)
+++ trunk/tests/functions/500-exists.check.sh	2011-04-03 21:12:42 UTC (rev 4250)
@@ -2,14 +2,7 @@
 
 set -x
 
-# FILES=( $( ls 400-fprintf-*.out ) )
-# (( ${#FILES[@]} == 3 )) || exit 1
+grep "file.txt: true"          stdout.txt || exit 1
+grep "file-missing.txt: false" stdout.txt || exit 1
 
-# grep hello 400-fprintf-1.out || exit 1
-
-# LINES=$( wc -l 400-fprintf-2.out | cut -d ' ' -f 1 )
-# (( ${LINES} == 3 )) || exit 1
-
-# grep "hello: 32" 400-fprintf-3.out || exit 1
-
 exit 0




More information about the Swift-commit mailing list