X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fcli%2Fintersection%2Ftest_intersection.in;h=7cea9be7eb12b29f31ddfca671ba22aa1b526498;hb=61a2a59ebe517e1a440a86fefedd13422ec4dd4f;hp=07a267fe85c796faa3767c0a4bdec48abd3dd43f;hpb=247095778ca8929a4c4617a9edfa9ecb84810d65;p=babeltrace.git diff --git a/tests/cli/intersection/test_intersection.in b/tests/cli/intersection/test_intersection.in index 07a267fe..7cea9be7 100644 --- a/tests/cli/intersection/test_intersection.in +++ b/tests/cli/intersection/test_intersection.in @@ -26,9 +26,9 @@ test_intersect() { totalevents="$2" intersect="$3" - test "$("${BT_BIN}" "$trace" | wc -l)" = "$totalevents" + test $("${BT_BIN}" "$trace" | wc -l) = "$totalevents" ok $? "$totalevents events in the whole trace" - test "$("${BT_BIN}" --stream-intersection "$trace" 2>/dev/null| wc -l)" = "$intersect" + test $("${BT_BIN}" --stream-intersection "$trace" 2>/dev/null| wc -l) = "$intersect" ok $? "$intersect events in packets intersecting" }