1
0
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:
Jim Meyering
2008-10-04 17:12:08 +02:00
parent 15f4d612df
commit fbc5aa7c47
2 changed files with 2 additions and 1 deletions

View File

@@ -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