[Swift-commit] r6456 - trunk/tests/language-behaviour/cleanup
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Wed Apr 17 12:04:57 CDT 2013
Author: davidk
Date: 2013-04-17 12:04:56 -0500 (Wed, 17 Apr 2013)
New Revision: 6456
Modified:
trunk/tests/language-behaviour/cleanup/001-proc-scope-cleanup.check.sh
trunk/tests/language-behaviour/cleanup/011-proc-scope-alias-cleanup.check.sh
Log:
Fix for some versions of grep which may cause these tests to fail
Modified: trunk/tests/language-behaviour/cleanup/001-proc-scope-cleanup.check.sh
===================================================================
--- trunk/tests/language-behaviour/cleanup/001-proc-scope-cleanup.check.sh 2013-04-17 17:02:37 UTC (rev 6455)
+++ trunk/tests/language-behaviour/cleanup/001-proc-scope-cleanup.check.sh 2013-04-17 17:04:56 UTC (rev 6456)
@@ -12,12 +12,12 @@
exit 1
fi
-if ! grep "Cleaning file [file://*$PREFIX.t1.tmp*]" $PREFIX.stdout; then
+if ! grep "^Cleaning file file://.*$PREFIX.t1.tmp" $PREFIX.stdout; then
echo "Test mapper did not claim to clean t1"
exit 1
fi
-if ! grep "Not cleaning [file://*$PREFIX.t2.out*]" $PREFIX.stdout; then
+if ! grep "^Not cleaning file://.*$PREFIX.t2.out" $PREFIX.stdout; then
echo "Test mapper did not identify t2 as persistent"
exit 1
fi
Modified: trunk/tests/language-behaviour/cleanup/011-proc-scope-alias-cleanup.check.sh
===================================================================
--- trunk/tests/language-behaviour/cleanup/011-proc-scope-alias-cleanup.check.sh 2013-04-17 17:02:37 UTC (rev 6455)
+++ trunk/tests/language-behaviour/cleanup/011-proc-scope-alias-cleanup.check.sh 2013-04-17 17:04:56 UTC (rev 6456)
@@ -17,12 +17,12 @@
exit 1
fi
-if ! grep "Cleaning file [file://*$PREFIX.1.tmp*]" $PREFIX.stdout; then
+if ! grep "Cleaning file file://.*$PREFIX.1.tmp" $PREFIX.stdout; then
echo "Test mapper didn't clean what it should have"
exit 1
fi
-if ! grep "Not cleaning [file://*$PREFIX.2.out*]" $PREFIX.stdout; then
+if ! grep "Not cleaning file://.*$PREFIX.2.out" $PREFIX.stdout; then
echo "Test mapper did not identify 2 as persistent"
exit 1
fi
More information about the Swift-commit
mailing list