diff options
Diffstat (limited to 'tests/df/no-mtab-status.sh')
-rwxr-xr-x | tests/df/no-mtab-status.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/df/no-mtab-status.sh b/tests/df/no-mtab-status.sh index 896a9fe55..2e6b61bb8 100755 --- a/tests/df/no-mtab-status.sh +++ b/tests/df/no-mtab-status.sh @@ -19,6 +19,7 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ df +require_gcc_shared_ df || skip_ "df fails" @@ -45,7 +46,7 @@ EOF # Then compile/link it: $CC -shared -fPIC -ldl -O2 k.c -o k.so \ - || skip_ "getmntent hack does not work on this platform" + || framework_failure_ 'failed to build shared library' # Test if LD_PRELOAD works: LD_PRELOAD=./k.so df |