2010-11-15 21:46:36 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
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'
|
2012-03-22 00:19:51 +00:00
|
|
|
PATH=input-files/perllib:../input-files/perllib:$PATH
|
|
|
|
perl32 `which parallel` ::: 'echo perl'
|
2010-11-15 21:46:36 +00:00
|
|
|
echo '### See if we read modules outside perllib'
|
2018-05-22 19:02:10 +00:00
|
|
|
echo perl |
|
|
|
|
stdout strace -ff perl32 `which parallel` echo |
|
|
|
|
grep open |
|
|
|
|
grep perl |
|
|
|
|
grep -v '] read(6' |
|
|
|
|
grep -v input-files/perllib
|