aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-20 14:44:12 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-20 14:44:12 -0800
commit030b1a77f72a7e3307c7d7881ae570ca1c8ed877 (patch)
tree1c25e1ee45851d02c59bb5e420fd39f4c51520f6 /t
parent3af59e6f31c5304d476884b69b6b88dfd492812b (diff)
parent6b02de3b9dc4ac8374cea4964e993ec6636d781c (diff)
downloadgit-030b1a77f72a7e3307c7d7881ae570ca1c8ed877.tar.gz
git-030b1a77f72a7e3307c7d7881ae570ca1c8ed877.tar.xz
Merge branch 'js/exec-error-report'
* js/exec-error-report: Improve error message when a transport helper was not found start_command: detect execvp failures early run-command: move wait_or_whine earlier start_command: report child process setup errors to the parent's stderr Conflicts: Makefile
Diffstat (limited to 't')
-rwxr-xr-xt/t0061-run-command.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/t0061-run-command.sh b/t/t0061-run-command.sh
new file mode 100755
index 000000000..10b26e4d8
--- /dev/null
+++ b/t/t0061-run-command.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# Copyright (c) 2009 Ilari Liusvaara
+#
+
+test_description='Test run command'
+
+. ./test-lib.sh
+
+test_expect_success 'start_command reports ENOENT' '
+ test-run-command start-command-ENOENT ./does-not-exist
+'
+
+test_done