From 4bb5ec9b863c8804d9e244ad9a33acaf8036dcb9 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Thu, 4 Mar 2010 18:04:36 -0500 Subject: [PATCH] trace_matches: fix return value bug --- tests/trace_matches | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1