From 3fa843216c918fe4a6151e55947cf3a7f46fcdb5 Mon Sep 17 00:00:00 2001 From: Joel Borggrén-Franck Date: Wed, 1 Dec 2010 21:27:52 +0100 Subject: 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. --- test/README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/README') 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 # -- cgit v1.2.3