| Message ID | 20261201121743.1889751-6-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [1/8] ltp: remove obsolete zip-native DEPENDS | expand |
diff --git a/meta/recipes-core/busybox/files/run-ptest b/meta/recipes-core/busybox/files/run-ptest index 957af36099d..21163e21d95 100644 --- a/meta/recipes-core/busybox/files/run-ptest +++ b/meta/recipes-core/busybox/files/run-ptest @@ -1,5 +1,7 @@ #!/bin/sh +set -o pipefail + current_path=$(readlink -f $0) export bindir=$(dirname $current_path) export PATH=$bindir/bin:$PATH
The test runner is piped through sed, so if the runner fails the script still has a success exit code. busybox's ash supports pipefile, so we can enable that. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-core/busybox/files/run-ptest | 2 ++ 1 file changed, 2 insertions(+)