Git development
 help / color / mirror / Atom feed
* [PATCH] git-p4: missing she-bang line in t9804 confuses prove
@ 2012-02-27 17:40 Zbigniew Jędrzejewski-Szmek
  2012-02-27 18:47 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Zbigniew Jędrzejewski-Szmek @ 2012-02-27 17:40 UTC (permalink / raw)
  To: git, gitster; +Cc: luke, Zbigniew Jędrzejewski-Szmek

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>
---
 t/t9804-git-p4-label.sh |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/t/t9804-git-p4-label.sh b/t/t9804-git-p4-label.sh
index 80d01ea..a9e04ef 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
-- 
1.7.9.2.396.ga883d.dirty

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-27 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 17:40 [PATCH] git-p4: missing she-bang line in t9804 confuses prove Zbigniew Jędrzejewski-Szmek
2012-02-27 18:47 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox