From: Junio C Hamano Date: Sat, 15 Dec 2018 03:24:34 +0000 (+0900) Subject: Merge branch 'jc/run-command-report-exec-failure-fix' into maint X-Git-Tag: v2.20.1~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/83243020c8537d48bdaf5d6d43c4be36ad47c8b0 Merge branch 'jc/run-command-report-exec-failure-fix' into maint A recent update accidentally squelched an error message when the run_command API failed to run a missing command, which has been corrected. * jc/run-command-report-exec-failure-fix: run-command: report exec failure --- 83243020c8537d48bdaf5d6d43c4be36ad47c8b0 diff --cc t/t0061-run-command.sh index cf932c8514,8a484878ec..96bf6d6a7d --- a/t/t0061-run-command.sh +++ b/t/t0061-run-command.sh @@@ -11,9 -11,11 +11,10 @@@ cat >hello-script <<-EO #!$SHELL_PATH cat hello-script EOF ->empty test_expect_success 'start_command reports ENOENT (slash)' ' - test-tool run-command start-command-ENOENT ./does-not-exist + test-tool run-command start-command-ENOENT ./does-not-exist 2>err && + test_i18ngrep "\./does-not-exist" err ' test_expect_success 'start_command reports ENOENT (no slash)' '