diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-02-27 18:40:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-27 12:24:09 -0800 |
commit | ff3d656b7ce98bf5c408a1432f88bd6b8ead2d8c (patch) | |
tree | 57d3aa395937ecd0b832eba1769007d0299bcffe /t/t9804-git-p4-label.sh | |
parent | d29d787cd6c0e70891596c61533c1f811425d2d6 (diff) | |
download | git-ff3d656b7ce98bf5c408a1432f88bd6b8ead2d8c.tar.gz |
git-p4: missing she-bang line in t9804 confuses prove
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>
Diffstat (limited to 't/t9804-git-p4-label.sh')
-rwxr-xr-x | t/t9804-git-p4-label.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t9804-git-p4-label.sh b/t/t9804-git-p4-label.sh index 80d01ea438..a9e04efb88 100755 --- a/t/t9804-git-p4-label.sh +++ b/t/t9804-git-p4-label.sh @@ -1,3 +1,5 @@ +#!/bin/sh + test_description='git-p4 p4 label tests' . ./lib-git-p4.sh |