From 6d42d260cf96def925ff5ed0cf307d03c5cb10d2 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Tue, 13 Feb 2024 13:01:04 -0800 Subject: [PATCH] xargs option conflict now a warning in el9 The warnings thrown by el9's version of xargs are unexpected output and cause this test to fail. When using the -I option (replace) the -n 1 arguments are always assumed. In el7/8 no warnings were printed. We can just remove `-n 1` since the argument is never needed. Signed-off-by: Auke Kok --- tests/tests/quota.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests/quota.sh b/tests/tests/quota.sh index 394c9d05..00004042 100644 --- a/tests/tests/quota.sh +++ b/tests/tests/quota.sh @@ -22,7 +22,7 @@ reset_all() getfattr --absolute-names -d -m - "$T_D0" | \ grep "^scoutfs.totl." | \ cut -d '=' -f 1 | \ - xargs -n 1 -I'{}' setfattr -x '{}' "$T_D0" + xargs -I'{}' setfattr -x '{}' "$T_D0" } echo "== prepare dir with write perm for test ids"