Browse Source

ptest-perl/run-ptest: address failures caused by perl 5.32.1

Particulary, . needs to be explicitly specified so that perl
looks there when loading items in 'require'.

(From OE-Core rev: 324d74c7e541b44b9c4240056b006f4c59ef34af)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alexander Kanavin 4 years ago
parent
commit
6d0c0d7442
1 changed files with 1 additions and 1 deletions
  1. 1 1
      meta/files/ptest-perl/run-ptest

+ 1 - 1
meta/files/ptest-perl/run-ptest

@@ -1,7 +1,7 @@
 #!/bin/sh
 
 for case in `find t -type f -name '*.t'`; do
-    perl $case >$case.output 2>&1
+    perl -I . $case >$case.output 2>&1
     ret=$?
     cat $case.output
     if [ $ret -ne 0 ]; then