summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAditya Tayade <Aditya.Tayade@kpit.com>2024-10-21 17:20:26 +0530
committerSteve Sakoman <steve@sakoman.com>2024-11-26 05:37:10 -0800
commitce942449637fa769436620956a8c3f794e353031 (patch)
tree0aa2262b497f54b1ed5750d6f04523d588da371e /meta/recipes-devtools
parent75215fbce67593a6812ef9596f1d712e2188ce1c (diff)
downloadpoky-ce942449637fa769436620956a8c3f794e353031.tar.gz
e2fsprogs: removed 'sed -u' option
In embedded box, sed might be provided another providers like Busybox, hence use generic options whenever possible. /bin/sed -> /etc/alternatives/sed /etc/alternatives/sed -> /bin/busybox.nosuid Here used 'sed -u' option is not necessary, hence removed it. Fixes below error: sed: invalid option -- 'u' Also added 'set -eux' option which halts execution of the script on any failures. (From OE-Core rev: 045d50e63bcaf13056ce749c616eecc4d4516958) Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com> Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 07caee1829d2a61bc018fe0e37ecd482922179ee) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
index 279923db8e..1857a17189 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest
@@ -1,7 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2 2
3set -eux
3cd ./test 4cd ./test
4SKIP_SLOW_TESTS=yes ./test_script | sed -u -e '/:[[:space:]]ok/s/^/PASS: /' -e '/:[[:space:]]failed/s/^/FAIL: /' -e '/:[[:space:]]skipped/s/^/SKIP: /' 5SKIP_SLOW_TESTS=yes ./test_script | sed -e '/:[[:space:]]ok/s/^/PASS: /' -e '/:[[:space:]]failed/s/^/FAIL: /' -e '/:[[:space:]]skipped/s/^/SKIP: /'
5rm -rf /var/volatile/tmp/*e2fsprogs* 6rm -rf /var/volatile/tmp/*e2fsprogs*
6rm -f tmp-* 7rm -f tmp-*
7rm -f *.tmp 8rm -f *.tmp