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