From ffc7b6a6e9250efd2dc491100f98641d05b90c38 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Sun, 25 Aug 2024 09:15:43 +0100 Subject: [PATCH] maint: avoid a syntax check failure * 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 | 3 --- tests/df/skip-duplicates.sh | 3 --- 2 files changed, 6 deletions(-) diff --git a/tests/df/no-mtab-status.sh b/tests/df/no-mtab-status.sh index 335ebc44a5..8bf8ce051a 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 d4952eae13..cfac82dfd1 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" -- 2.47.2