Skip to content
Permalink
Browse files
Merge pull request #2655 from jglathe/jg/t0014_trace_extra_info
t/t0014: fix: eliminate additional lines from trace
  • Loading branch information
dscho committed Oct 9, 2020
2 parents 3706bcf + f004f01 commit 326291a3a90dedf389e9f0e60dd4ce1b53f124ad
Showing 1 changed file with 4 additions and 4 deletions.
@@ -38,10 +38,10 @@ test_expect_success 'looping aliases - internal execution' '
#'

test_expect_success 'run-command formats empty args properly' '
test_must_fail env GIT_TRACE=1 git frotz a "" b " " c 2>actual.raw &&
sed -ne "/run_command:/s/.*trace: run_command: //p" actual.raw >actual &&
echo "git-frotz a '\'''\'' b '\'' '\'' c" >expect &&
test_cmp expect actual
test_must_fail env GIT_TRACE=1 git frotz a "" b " " c 2>actual.raw &&
sed -ne "/run_command: git-frotz/s/.*trace: run_command: //p" actual.raw >actual &&
echo "git-frotz a '\'''\'' b '\'' '\'' c" >expect &&
test_cmp expect actual
'

test_done

0 comments on commit 326291a

Please sign in to comment.