X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Futils%2Futils.sh;h=8bf9df896509c3a6a7998174ed9da8f4b1d56fe2;hb=717a01a712b427130c6ebb23940e65addb6ed65a;hp=c2ea334130694e67fac487ba66e0f3b9ed3cea02;hpb=2d12ade973ad338be4e3a4f2fb82c6798a2cec33;p=babeltrace.git diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index c2ea3341..8bf9df89 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -153,7 +153,7 @@ fi # Remove CR characters in file "$1". bt_remove_cr() { - "$BT_TESTS_SED_BIN" -i 's/\r//g' "$1" + "$BT_TESTS_SED_BIN" -i'' -e 's/\r//g' "$1" } # Run the Babeltrace CLI, redirecting stdout and stderr to specified files.