[Swift-commit] r4951 - branches/release-0.93/tests/local

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Aug 5 18:32:06 CDT 2011


Author: hategan
Date: 2011-08-05 18:32:05 -0500 (Fri, 05 Aug 2011)
New Revision: 4951

Modified:
   branches/release-0.93/tests/local/filesysmapper.check.sh
   branches/release-0.93/tests/local/range.check.sh
Log:
use OUTPUT env var for script stdout

Modified: branches/release-0.93/tests/local/filesysmapper.check.sh
===================================================================
--- branches/release-0.93/tests/local/filesysmapper.check.sh	2011-08-05 23:31:39 UTC (rev 4950)
+++ branches/release-0.93/tests/local/filesysmapper.check.sh	2011-08-05 23:32:05 UTC (rev 4951)
@@ -2,8 +2,8 @@
 
 set -x
 
-ls stdout.txt || exit 1
-COUNT=$( grep -c "file: [abc].dat" < stdout.txt )
+ls $OUTPUT || exit 1
+COUNT=$( grep -c "file: [abc].dat" < $OUTPUT )
 (( $COUNT == 3 )) || exit 1
 
 exit 0

Modified: branches/release-0.93/tests/local/range.check.sh
===================================================================
--- branches/release-0.93/tests/local/range.check.sh	2011-08-05 23:31:39 UTC (rev 4950)
+++ branches/release-0.93/tests/local/range.check.sh	2011-08-05 23:32:05 UTC (rev 4951)
@@ -2,9 +2,9 @@
 
 set -x
 
-ls stdout.txt || exit 1
+ls $OUTPUT || exit 1
 
-COUNT=$( grep -c "num:" stdout.txt )
+COUNT=$( grep -c "num:" $OUTPUT )
 (( $COUNT == 11 )) || exit 1
 
 exit 0




More information about the Swift-commit mailing list