tests: don't swallow stderr when running babeltrace CLI
[babeltrace.git] / tests / utils / utils.sh
index 5b9f0e96d17d9ab31ccdc647da4cb3ddceb6b70d..65949bd0467828eda3eb262a1b0b925bbf5b07c0 100644 (file)
@@ -124,7 +124,7 @@ bt_diff_cli() {
        # Run the CLI to get a detailed file. Strip any \r present due to
        # Windows (\n -> \r\n). "diff --string-trailing-cr" is not used since it
        # is not present on Solaris.
-       echo "$args" | xargs "$BT_TESTS_BT2_BIN" 2>/dev/null | tr -d "\r" > "$temp_output_file"
+       echo "$args" | xargs "$BT_TESTS_BT2_BIN" | tr -d "\r" > "$temp_output_file"
 
        # Compare output with expected output
        if ! diff -u "$temp_output_file" "$expected_file" 2>/dev/null >"$temp_diff"; then
This page took 0.02513 seconds and 4 git commands to generate.