diff --git a/tests/df/no-mtab-status.sh b/tests/df/no-mtab-status.sh index 335ebc44a..8bf8ce051 100755 --- a/tests/df/no-mtab-status.sh +++ b/tests/df/no-mtab-status.sh @@ -24,9 +24,6 @@ require_gcc_shared_ # Protect against inaccessible remote mounts etc. timeout 10 df || skip_ "df fails" -grep '^#define HAVE_MNTENT_H 1' $CONFIG_HEADER > /dev/null \ - || skip_ "no mntent.h available to confirm the interface" - grep '^#define HAVE_GETMNTENT 1' $CONFIG_HEADER > /dev/null \ || skip_ "getmntent is not used on this system" diff --git a/tests/df/skip-duplicates.sh b/tests/df/skip-duplicates.sh index d4952eae1..cfac82dfd 100755 --- a/tests/df/skip-duplicates.sh +++ b/tests/df/skip-duplicates.sh @@ -34,9 +34,6 @@ unique_entries=1 test -z "$CU_NONROOT_FS" || unique_entries=$(expr $unique_entries + 1) test -z "$CU_REMOTE_FS" || unique_entries=$(expr $unique_entries + 2) -grep '^#define HAVE_MNTENT_H 1' $CONFIG_HEADER > /dev/null \ - || skip_ "no mntent.h available to confirm the interface" - grep '^#define HAVE_GETMNTENT 1' $CONFIG_HEADER > /dev/null \ || skip_ "getmntent is not used on this system"