X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fcli%2Fintersection%2Ftest_intersection.in;h=7cea9be7eb12b29f31ddfca671ba22aa1b526498;hb=7de0939d96fe680ec5cd14e46c72f23653fd1d0a;hp=07a267fe85c796faa3767c0a4bdec48abd3dd43f;hpb=03f007c88338aad6a1d1f30a757401e0093fa23f;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" }