From: Pierre-Marc Fournier Date: Thu, 4 Mar 2010 23:04:36 +0000 (-0500) Subject: trace_matches: fix return value bug X-Git-Tag: v0.4~41 X-Git-Url: https://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=4bb5ec9b863c8804d9e244ad9a33acaf8036dcb9 trace_matches: fix return value bug --- diff --git a/tests/trace_matches b/tests/trace_matches index c2135c1..ef259be 100755 --- a/tests/trace_matches +++ b/tests/trace_matches @@ -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