aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/README
diff options
context:
space:
mode:
authorGravatar Joel Borggrén-Franck <jbf@codehouse.se>2010-12-01 21:27:52 +0100
committerGravatar Carl Worth <cworth@cworth.org>2011-05-27 14:03:28 -0700
commit3fa843216c918fe4a6151e55947cf3a7f46fcdb5 (patch)
tree4e57b2683b48ea8b8f63a6a249c4a9a3805b5cdd /test/README
parent3185df17eb6c7621df3945841af58f2b19facc40 (diff)
test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability
Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way systems running on bash < 4 can prepend bash >= 4 to path before running the tests.
Diffstat (limited to 'test/README')
-rw-r--r--test/README6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/README b/test/README
index ebaa3cfd..07da480b 100644
--- a/test/README
+++ b/test/README
@@ -68,11 +68,11 @@ remaining tests to be unaffected.
Writing Tests
-------------
-The test script is written as a shell script. It should start
-with the standard "#!/bin/bash" with copyright notices, and an
+The test script is written as a shell script. It should start with
+the standard "#!/usr/bin/env bash" with copyright notices, and an
assignment to variable 'test_description', like this:
- #!/bin/bash
+ #!/usr/bin/env bash
#
# Copyright (c) 2005 Junio C Hamano
#