tests: fix skipping of mtab simulation tests
commit6f1ec80f31164e08ffa048225a6c6142bfaf92b4
authorPádraig Brady <P@draigBrady.com>
Wed, 2 Oct 2024 15:33:42 +0000 (2 16:33 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 2 Oct 2024 15:33:42 +0000 (2 16:33 +0100)
tree5378718135b9c3aa82789a0fb094a62e8227130a
parente71b24cedc2ff640f94911298e53b24506f13062
tests: fix skipping of mtab simulation tests

Where rpl_fopen() is used rather than fopen(),
wrapping fopen() is ineffective.
Note rpl_fopen() is used as of glibc-2.39 at least
(due to fflush and fclose being replaced).

* tests/df/no-mtab-status.sh: Wrap open() rather than fopen().
* tests/df/skip-duplicates.sh: Likewise.
tests/df/no-mtab-status.sh
tests/df/skip-duplicates.sh