aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/run-all
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-09-07 17:34:58 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-09-07 17:34:58 +0200
commit0d7dfa9012d01159c371bf041bf53afe0780df9f (patch)
tree7f3899298fef407030c7c05d3d772fe5aa033239 /shell/ash_test/run-all
parente53c7dbafc78948e5c0d8d8ccb0bdcd9f936c62e (diff)
downloadbusybox-w32-0d7dfa9012d01159c371bf041bf53afe0780df9f.tar.gz
busybox-w32-0d7dfa9012d01159c371bf041bf53afe0780df9f.tar.bz2
busybox-w32-0d7dfa9012d01159c371bf041bf53afe0780df9f.zip
ash: support testsuite for !FEATURE_SUID_CONFIG_QUIET configs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/run-all')
-rwxr-xr-xshell/ash_test/run-all3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash_test/run-all b/shell/ash_test/run-all
index caf033577..b9f5ee788 100755
--- a/shell/ash_test/run-all
+++ b/shell/ash_test/run-all
@@ -61,7 +61,8 @@ do_test()
61# echo Running test: "$x" 61# echo Running test: "$x"
62 echo -n "$1/$x:" 62 echo -n "$1/$x:"
63 { 63 {
64 "$THIS_SH" "./$x" >"$name.xx" 2>&1 64 "$THIS_SH" "./$x" 2>&1 | \
65 grep -va "^ash: using fallback suid method$" >"$name.xx"
65 diff -u "$name.xx" "$name.right" >"$TOPDIR/$noslash-$x.fail" \ 66 diff -u "$name.xx" "$name.right" >"$TOPDIR/$noslash-$x.fail" \
66 && rm -f "$name.xx" "$TOPDIR/$noslash-$x.fail" 67 && rm -f "$name.xx" "$TOPDIR/$noslash-$x.fail"
67 } && echo " ok" || echo " fail" 68 } && echo " ok" || echo " fail"