[XFSTESTS v2 1/6] check: Don't complain about missing tests/$FSTYP/group
Andreas Gruenbacher
agruenba at redhat.com
Sun Dec 6 11:37:26 CST 2015
When filesystems don't have filesystem specific tests, those nonexistent
tests also won't have a group file.
Signed-off-by: Andreas Gruenbacher <agruenba at redhat.com>
---
check | 2 ++
1 file changed, 2 insertions(+)
diff --git a/check b/check
index 8281322..4a9b332 100755
--- a/check
+++ b/check
@@ -95,6 +95,8 @@ get_group_list()
grp=$1
for d in $SRC_GROUPS $FSTYP; do
+ [ -e "$SRC_DIR/$d/group" ] || continue
+
l=$(sed -n < $SRC_DIR/$d/group \
-e 's/#.*//' \
-e 's/$/ /' \
--
2.5.0
More information about the xfs
mailing list