trace_matches: fix return value bug
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Thu, 4 Mar 2010 23:04:36 +0000 (18:04 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Thu, 4 Mar 2010 23:04:36 +0000 (18:04 -0500)
tests/trace_matches

index c2135c1801a5886bdc34308b0a6a456972f5a36b..ef259bebded2992b23029d55c731dce47541878a 100755 (executable)
@@ -50,6 +50,7 @@ if [ -z "$expected_count" ]; then
        if [ "$cnt" -eq "0" ]; then
                echo "ERROR"
                echo "Did not find at least one instance of this event ($cnt)"
+               exit 1
        else
                echo "Success"
                exit 0
This page took 0.026091 seconds and 4 git commands to generate.