There are no tmpfs specific tests, so tests/tmpfs does not exist. Avoid print an error message caused by trying to read the file tests/tmpfs/group (for example). Signed-off-by: Theodore Ts'o <tytso@xxxxxxx> --- check | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/check b/check index c40d2a8..2986d84 100755 --- a/check +++ b/check @@ -90,6 +90,9 @@ get_group_list() grp=$1 for d in $SRC_GROUPS $FSTYP; do + if ! test -d "$SRC_DIR/$d" ; then + continue + fi l=$(sed -n < $SRC_DIR/$d/group \ -e 's/#.*//' \ -e 's/$/ /' \ @@ -105,6 +108,9 @@ get_all_tests() { touch $tmp.list for d in $SRC_GROUPS $FSTYP; do + if ! test -d "$SRC_DIR/$d" ; then + continue + fi ls $SRC_DIR/$d/* | \ grep -v "\..*" | \ grep "^$SRC_DIR/$d/$VALID_TEST_NAME"| \ -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html