mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user