On 06/27/2014 08:36 AM, Jim Grisham wrote: > Test log file attached. > > $ uname -a > Darwin NFM-iMac.local 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 > 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64 > > ============================================================================ > Testsuite summary for GNU coreutils 8.22 > ============================================================================ > # TOTAL: 551 > # PASS: 398 > # SKIP: 150 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 2 > ============================================================================ >
Thanks a lot for the feed back The 2 errors could probably be cleaned up with something like: I'll look into the FAIL later. thanks! Pádraig. diff --git a/tests/df/no-mtab-status.sh b/tests/df/no-mtab-status.sh index f2fda5e..9ea2036 100755 --- a/tests/df/no-mtab-status.sh +++ b/tests/df/no-mtab-status.sh @@ -23,6 +23,12 @@ require_gcc_shared_ 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" + # Simulate "mtab" failure. cat > k.c <<'EOF' || framework_failure_ #include <stdio.h> diff --git a/tests/df/skip-duplicates.sh b/tests/df/skip-duplicates.sh index 9f0f749..52b9014 100755 --- a/tests/df/skip-duplicates.sh +++ b/tests/df/skip-duplicates.sh @@ -28,6 +28,12 @@ df --local || skip_ "df fails" export CU_NONROOT_FS=$(df --local --output=target 2>&1 | grep /. | head -n1) test -z "$CU_NONROOT_FS" && unique_entries=1 || 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" + # Simulate an mtab file to test various cases. cat > k.c <<'EOF' || framework_failure_ #include <stdio.h>
