The sixth batch for 2.18
[gitweb.git] / t / t0061-run-command.sh
index d03149be9f667307a181ef17a3291ecc7eeb19cb..c887ed5b45e824d281343196c8781cbb6e85abed 100755 (executable)
@@ -145,7 +145,7 @@ test_trace () {
        expect="$1"
        shift
        GIT_TRACE=1 test-tool run-command "$@" run-command true 2>&1 >/dev/null | \
-               sed 's/.* run_command: //' >actual &&
+               sed -e 's/.* run_command: //' -e '/trace: .*/d' >actual &&
        echo "$expect true" >expect &&
        test_cmp expect actual
 }