Thread (12 messages) flat view 12 messages, 3 authors, 2016-06-15
DORMANTno replies

Revision v2 of 3 in this series.

Revisions (3)
  1. v1 [diff vs current]
  2. v2 current
  3. v4 [diff vs current]

[PATCH v2 1/8] t/README: Tests are all +x, ./test, not sh ./test

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:49:04
Subsystem: the rest · Maintainer: Linus Torvalds

test-lib.sh runs tests with $SHELL_PATH or the #!/bin/sh shebang when
run under prove. It's simpler to just show ./ as an example.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
 t/README |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/README b/t/README
index aa4ed28..b378ab1 100644
--- a/t/README
+++ b/t/README
@@ -52,7 +52,7 @@ prove and other harnesses come with a lot of useful options. The
 
 You can also run each test individually from command line, like this:
 
-    $ sh ./t3010-ls-files-killed-modified.sh
+    $ ./t3010-ls-files-killed-modified.sh
     ok 1 - git update-index --add to add various paths.
     ok 2 - git ls-files -k to show killed files.
     ok 3 - validate git ls-files -k output.
-- 
1.7.1.251.g92a7
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help