ash: support testsuite for !FEATURE_SUID_CONFIG_QUIET configs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
e53c7dbafc
commit
0d7dfa9012
@ -61,7 +61,8 @@ do_test()
|
|||||||
# echo Running test: "$x"
|
# echo Running test: "$x"
|
||||||
echo -n "$1/$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" \
|
diff -u "$name.xx" "$name.right" >"$TOPDIR/$noslash-$x.fail" \
|
||||||
&& rm -f "$name.xx" "$TOPDIR/$noslash-$x.fail"
|
&& rm -f "$name.xx" "$TOPDIR/$noslash-$x.fail"
|
||||||
} && echo " ok" || echo " fail"
|
} && echo " ok" || echo " fail"
|
||||||
|
Loading…
Reference in New Issue
Block a user