summaryrefslogtreecommitdiff
path: root/shell/ash_test/run-all
diff options
context:
space:
mode:
authorDenys Vlasenko2021-09-07 17:34:58 +0200
committerDenys Vlasenko2021-09-07 17:34:58 +0200
commit0d7dfa9012d01159c371bf041bf53afe0780df9f (patch)
tree7f3899298fef407030c7c05d3d772fe5aa033239 /shell/ash_test/run-all
parente53c7dbafc78948e5c0d8d8ccb0bdcd9f936c62e (diff)
downloadbusybox-0d7dfa9012d01159c371bf041bf53afe0780df9f.zip
busybox-0d7dfa9012d01159c371bf041bf53afe0780df9f.tar.gz
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 caf0335..b9f5ee7 100755
--- a/shell/ash_test/run-all
+++ b/shell/ash_test/run-all
@@ -61,7 +61,8 @@ do_test()
# echo Running test: "$x"
echo -n "$1/$x:"
{
- "$THIS_SH" "./$x" >"$name.xx" 2>&1
+ "$THIS_SH" "./$x" 2>&1 | \
+ grep -va "^ash: using fallback suid method$" >"$name.xx"
diff -u "$name.xx" "$name.right" >"$TOPDIR/$noslash-$x.fail" \
&& rm -f "$name.xx" "$TOPDIR/$noslash-$x.fail"
} && echo " ok" || echo " fail"