[git commit] ash: support testsuite for !FEATURE_SUID_CONFIG_QUIET configs

Denys Vlasenko vda.linux at googlemail.com
Tue Sep 7 15:34:58 UTC 2021


commit: https://git.busybox.net/busybox/commit/?id=0d7dfa9012d01159c371bf041bf53afe0780df9f
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/ash_test/run-all | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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()
 #		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"


More information about the busybox-cvs mailing list