parallel: Partial Reuse licensing support.
[parallel.git] / testsuite / tests-to-run / parallel-local10.sh
blob877ec60467d1ed3094e180232116526688a1dd1e
1 #!/bin/bash
3 # SPDX-FileCopyrightText: 2021 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
5 # SPDX-License-Identifier: GPL-3.0-or-later
7 echo '### Test with old perl libs'
8 # Old libraries are put into input-files/perllib
9 PERL5LIB=input-files/perllib:../input-files/perllib; export PERL5LIB
11 echo '### See if we get compile error'
12 PATH=input-files/perllib:../input-files/perllib:$PATH
13 perl32 `which parallel` ::: 'echo perl'
14 echo '### See if we read modules outside perllib'
15 echo perl |
16 stdout strace -ff perl32 `which parallel` echo |
17 grep open |
18 grep perl |
19 grep -v '] read(6' |
20 grep -v input-files/perllib