Skip to content

Commit

Permalink
git-p4: missing she-bang line in t9804 confuses prove
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
keszybz authored and gitster committed Feb 27, 2012
1 parent d29d787 commit ff3d656
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/t9804-git-p4-label.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

test_description='git-p4 p4 label tests'

. ./lib-git-p4.sh
Expand Down

0 comments on commit ff3d656

Please sign in to comment.