summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d29d787)
raw | patch | inline | side by side (parent: d29d787)
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | |
Mon, 27 Feb 2012 17:40:14 +0000 (18:40 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 27 Feb 2012 20:24:09 +0000 (12:24 -0800) |
Without the magic line, prove shows lots and lots of errors:
% prove ./t9804-git-p4-label.sh
./t9804-git-p4-label.sh .. syntax error at ./t9804-git-p4-label.sh line 3, near ". ."
...
When #!/bin/sh is added, tests are skipped (I have no p4d).
Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
% prove ./t9804-git-p4-label.sh
./t9804-git-p4-label.sh .. syntax error at ./t9804-git-p4-label.sh line 3, near ". ."
...
When #!/bin/sh is added, tests are skipped (I have no p4d).
Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9804-git-p4-label.sh | patch | blob | history |
index 80d01ea438f26c8d51e3cde548592c35db95f711..a9e04efb889c07037b6800171f9675c8afb68e18 100755 (executable)
--- a/t/t9804-git-p4-label.sh
+++ b/t/t9804-git-p4-label.sh
+#!/bin/sh
+
test_description='git-p4 p4 label tests'
. ./lib-git-p4.sh