summaryrefslogtreecommitdiff
path: root/tests/install/strip-program
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-10-04 17:12:08 +0200
committerJim Meyering <meyering@redhat.com>2008-10-04 17:12:08 +0200
commitfbc5aa7c47597694d8973a134143a2281748eec6 (patch)
tree5f111696e731ab2fcb629505304cee34e720da92 /tests/install/strip-program
parent15f4d612df8eed7014f76825ad986fb8c769ec5d (diff)
downloadcoreutils-fbc5aa7c47597694d8973a134143a2281748eec6.tar.xz
tests: fix the install/strip-program test
* tests/install/strip-program: Use $PREFERABLY_POSIX_SHELL, not POSIX_SHELL. The latter may be empty, and would fail on OpenBSD 3.9. * tests/check.mk (TESTS_ENVIRONMENT): Propagate PREFERABLY_POSIX_SHELL to tests.
Diffstat (limited to 'tests/install/strip-program')
-rwxr-xr-xtests/install/strip-program2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/install/strip-program b/tests/install/strip-program
index 98f7febea..8dc838f0b 100755
--- a/tests/install/strip-program
+++ b/tests/install/strip-program
@@ -26,7 +26,7 @@ fi
working_umask_or_skip_
cat <<EOF > b || framework_failure
-#!$POSIX_SHELL
+#!$PREFERABLY_POSIX_SHELL
sed s/b/B/ \$1 > \$1.t && mv \$1.t \$1
EOF
chmod a+x b || framework_failure