[Swift-commit] r4511 - trunk/tests/providers/local-coasters

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Mon May 23 11:55:53 CDT 2011


Author: wozniak
Date: 2011-05-23 11:55:53 -0500 (Mon, 23 May 2011)
New Revision: 4511

Modified:
   trunk/tests/providers/local-coasters/201-cp.check.sh
Log:
Fix check script


Modified: trunk/tests/providers/local-coasters/201-cp.check.sh
===================================================================
--- trunk/tests/providers/local-coasters/201-cp.check.sh	2011-05-23 15:11:21 UTC (rev 4510)
+++ trunk/tests/providers/local-coasters/201-cp.check.sh	2011-05-23 16:55:53 UTC (rev 4511)
@@ -2,8 +2,8 @@
 
 set -x
 
-COUNT=$( ls 201-output* | grep -c )
+COUNT=$( ls 201-output* | wc -l )
 
-[[ ${COUNT} == 40 ]] || exit 1
+[[ $COUNT == 40 ]] || exit 1
 
 exit 0




More information about the Swift-commit mailing list