Bernhard Voelker <[email protected]> writes:

> Two df(1) tests were skipped:
>
>   no-mtab-status.sh: skipped test: failed to build mntent shared library
>   SKIP: tests/df/no-mtab-status.sh
>   skip-duplicates.sh: skipped test: failed to build mntent shared library
>   SKIP: tests/df/skip-duplicates.sh
>
> The attached patch fixes that build failure.
>
> FWIW, but those 2 tests still get skipped - at least here on my
> openSUSE:Tumbleweed system:
>
>   + test -f x
>   + skip_ 'internal test failure: maybe LD_PRELOAD doesn'\''t work?'
>
> I noticed that the open() function is not called (anymore?),
> but instead it would work again when substituting fopen().
> See attached 'tests-df-LD_PRELOAD-fopen-not-open.diff' file.
> Do you see the same?

Good catch. I see the same thing. Applying both of your patches fixes
it:

    $ make check \
        TESTS='tests/df/no-mtab-status.sh tests/df/skip-duplicates.sh'
    PASS: tests/df/no-mtab-status.sh
    PASS: tests/df/skip-duplicates.sh

Collin

Reply via email to