.gitignore: add some more IDE / tools related file
[babeltrace.git] / tests / plugins / src.ctf.fs / test-deterministic-ordering.sh
index a641eb53812e5a42134b191a832b4d248deddf9a..f66247b2cf3ef13e2d67f5c7aaa956362502185c 100755 (executable)
@@ -66,11 +66,15 @@ expect_failure() {
                -c src.ctf.fs -p "inputs=[${inputs}]"
        isnt 0 "$?" "${test_name}: exit status is not 0"
 
-       grep --silent "^ERROR: " "${stderr_file}"
-       ok "$?" "${test_name}: error stack is produced"
-
-       grep --silent "No event class with ID of event class ID to use in stream class" "${stderr_file}"
-       ok "$?" "${test_name}: expected error message is present"
+       bt_grep_ok \
+               "^ERROR: " \
+               "${stderr_file}" \
+               "${test_name}: error stack is produced"
+
+       bt_grep_ok \
+               "No event class with ID of event class ID to use in stream class" \
+               "$stderr_file" \
+               "$test_name: expected error message is present"
 }
 
 expect_success() {
This page took 0.07536 seconds and 4 git commands to generate.