* tests/df/skip-duplicates.sh: Just skip this test if we fail to build the shared lib. This fails on Solaris 11 at least due to no HAVE_MNTENT_H. Note HAVE_SYS_MNTENT_H does not suffice for this wrapper code. * tests/df/no-mtab-status.sh: Likewise. --- tests/df/no-mtab-status.sh | 2 +- tests/df/skip-duplicates.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/df/no-mtab-status.sh b/tests/df/no-mtab-status.sh index 076df40b7..47105a13a 100755 --- a/tests/df/no-mtab-status.sh +++ b/tests/df/no-mtab-status.sh @@ -93,7 +93,7 @@ EOF # Then compile/link it: gcc_shared_ k.c k.so \ - || framework_failure_ 'failed to build shared library' + || skip_ 'failed to build mntent shared library' cleanup_() { unset LD_PRELOAD; } diff --git a/tests/df/skip-duplicates.sh b/tests/df/skip-duplicates.sh index 0539be301..644f2e027 100755 --- a/tests/df/skip-duplicates.sh +++ b/tests/df/skip-duplicates.sh @@ -150,7 +150,7 @@ EOF # Then compile/link it: gcc_shared_ k.c k.so \ - || framework_failure_ 'failed to build shared library' + || skip_ 'failed to build mntent shared library' # Test if LD_PRELOAD works: LD_PRELOAD=$LD_PRELOAD:./k.so df -- 2.47.1