parallel/testsuite/tests-to-run/parallel-local10.sh
2021-03-22 21:16:35 +01:00

21 lines
652 B
Bash
Executable file

#!/bin/bash
# SPDX-FileCopyrightText: 2021 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
#
# SPDX-License-Identifier: GPL-3.0-or-later
echo '### Test with old perl libs'
# Old libraries are put into input-files/perllib
PERL5LIB=input-files/perllib:../input-files/perllib; export PERL5LIB
echo '### See if we get compile error'
PATH=input-files/perllib:../input-files/perllib:$PATH
perl32 `which parallel` ::: 'echo perl'
echo '### See if we read modules outside perllib'
echo perl |
stdout strace -ff perl32 `which parallel` echo |
grep open |
grep perl |
grep -v '] read(6' |
grep -v input-files/perllib