Make: Use SHELL to run test scripts, since /bin/sh may suck

The test scripts need a POSIX-compliant Bourne shell.  /bin/sh isn't
on some systems, such as Solaris.  Run them with $(SHELL).

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2020-12-28 11:38:20 +01:00
parent 9556c6bd65
commit 55c1d29efe

View file

@ -100,7 +100,7 @@ endif
# Helper for running tests
# Usage: $(call run-test, SHELL-SCRIPT)
# Recursively expanded, or else parameters don't work
run-test = $(call quiet-command, $1 $(srcdir), TEST $1)
run-test = $(call quiet-command, $(SHELL) -e $1 $(srcdir), TEST $1)
# How to substitute Autoconf output variables
# Recursively expanded so that $@ and $< work.