]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: avoid a syntax check failure
authorPádraig Brady <P@draigBrady.com>
Sun, 25 Aug 2024 08:15:43 +0000 (09:15 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 25 Aug 2024 08:15:43 +0000 (09:15 +0100)
* tests/df/no-mtab-status.sh: mntent.h is always provided now by gnulib.
* tests/df/skip-duplicates.sh: Likewise.

tests/df/no-mtab-status.sh
tests/df/skip-duplicates.sh

index 335ebc44a5e98b3f5cbbec5fd25b1f05eef838e0..8bf8ce051ae526db4c31a1989c5b588e9b491b90 100755 (executable)
@@ -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"
 
index d4952eae13da2f2ac718f27db0122571689490be..cfac82dfd12cd496d57d41695d399211218fbe0c 100755 (executable)
@@ -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"