Bugfix in resource sharing test
authorClifford Wolf <clifford@clifford.at>
Tue, 27 Jan 2015 18:30:06 +0000 (19:30 +0100)
committerClifford Wolf <clifford@clifford.at>
Tue, 27 Jan 2015 18:30:06 +0000 (19:30 +0100)
tests/share/run-test.sh

index 203d6fcd763f22dca89c20f77c2fe64205bd286b..6e880677c6304e8fd461cc8959dcc2199eb55c04 100755 (executable)
@@ -18,7 +18,7 @@ for i in $( ls temp/*.ys | sed 's,[^0-9],,g; s,^0*\(.\),\1,g;' ); do
 done
 echo
 
-failed_share=$( echo $( gawk '/^#job#/ { j=$2; db[j]=0; } /^Removing [24] cells/ { delete db[j]; } END { for (j in db) print(j); }' temp/all_share_log.txt ) )
+failed_share=$( echo $( gawk '/^#job#/ { j=$2; db[j]=0; } /^Removing [246] cells/ { delete db[j]; } END { for (j in db) print(j); }' temp/all_share_log.txt ) )
 if [ -n "$failed_share" ]; then
        echo "Resource sharing failed for the following test cases: $failed_share"
        false