[Swift-commit] r4632 - trunk/tests/documentation
achavez at ci.uchicago.edu
achavez at ci.uchicago.edu
Fri Jun 17 18:34:08 CDT 2011
Author: achavez
Date: 2011-06-17 18:34:08 -0500 (Fri, 17 Jun 2011)
New Revision: 4632
Modified:
trunk/tests/documentation/4-7_foreach.check.sh
trunk/tests/documentation/4-7_foreach.clean.sh
trunk/tests/documentation/4-9_sequential_iteration.clean.sh
trunk/tests/documentation/6-1_named_and_optional_params.check.sh
trunk/tests/documentation/6-1_named_and_optional_params.clean.sh
Log:
Enhanced Check, and Clean Shell Scripts, for all the tests.
Modified: trunk/tests/documentation/4-7_foreach.check.sh
===================================================================
--- trunk/tests/documentation/4-7_foreach.check.sh 2011-06-17 21:27:14 UTC (rev 4631)
+++ trunk/tests/documentation/4-7_foreach.check.sh 2011-06-17 23:34:08 UTC (rev 4632)
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -x
+cat one.count | grep '3 one.txt' || exit 1
+cat two.count | grep '3 two.txt' || exit 1
+cat three.count | grep '1 three.txt' || exit 1
+exit 0
Modified: trunk/tests/documentation/4-7_foreach.clean.sh
===================================================================
--- trunk/tests/documentation/4-7_foreach.clean.sh 2011-06-17 21:27:14 UTC (rev 4631)
+++ trunk/tests/documentation/4-7_foreach.clean.sh 2011-06-17 23:34:08 UTC (rev 4632)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -rf 4-7_foreach-* 4-7_foreach.kml 4-7_foreach.xml one.txt two.txt three.txt || exit 1
+exit 0
Modified: trunk/tests/documentation/4-9_sequential_iteration.clean.sh
===================================================================
--- trunk/tests/documentation/4-9_sequential_iteration.clean.sh 2011-06-17 21:27:14 UTC (rev 4631)
+++ trunk/tests/documentation/4-9_sequential_iteration.clean.sh 2011-06-17 23:34:08 UTC (rev 4632)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -rf 4-9_sequential_iteration-* 4-9_sequential_iteration.kml 4-9_sequential_iteration.xml foldout* || exit 1
+exit 0
Modified: trunk/tests/documentation/6-1_named_and_optional_params.check.sh
===================================================================
--- trunk/tests/documentation/6-1_named_and_optional_params.check.sh 2011-06-17 21:27:14 UTC (rev 4631)
+++ trunk/tests/documentation/6-1_named_and_optional_params.check.sh 2011-06-17 23:34:08 UTC (rev 4632)
@@ -0,0 +1,5 @@
+#!/bin/bash
+set -x
+grep 'hello' english.txt | grep 'bonjour' french.txt || exit 1
+
+exit 0
Modified: trunk/tests/documentation/6-1_named_and_optional_params.clean.sh
===================================================================
--- trunk/tests/documentation/6-1_named_and_optional_params.clean.sh 2011-06-17 21:27:14 UTC (rev 4631)
+++ trunk/tests/documentation/6-1_named_and_optional_params.clean.sh 2011-06-17 23:34:08 UTC (rev 4632)
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -x
+rm -rf 6-1_named_and_optional_params-* 6-1_named_and_optional_params.kml 6-1_named_and_optional_params.xml english.txt francais.txt|| exit 1
+exit 0
More information about the Swift-commit
mailing list