untracked-cache: be defensive about missing NULs in index
[gitweb.git] / t / t0061-run-command.sh
index 9c7604dcabec86776c3bb25598e39dac79118765..ebc49561acc08e916b2ab78cd84e6729c65f5803 100755 (executable)
@@ -166,7 +166,8 @@ test_trace () {
        expect="$1"
        shift
        GIT_TRACE=1 test-tool run-command "$@" run-command true 2>&1 >/dev/null | \
-               sed -e 's/.* run_command: //' -e '/trace: .*/d' >actual &&
+               sed -e 's/.* run_command: //' -e '/trace: .*/d' \
+                       -e '/RUNTIME_PREFIX requested/d' >actual &&
        echo "$expect true" >expect &&
        test_cmp expect actual
 }