tests: avoid shared lib tests on unsupported platforms
commite92d16f68a97575ed7112204b069514edc8d54a0
authorPádraig Brady <P@draigBrady.com>
Wed, 27 Mar 2013 12:51:43 +0000 (27 12:51 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 4 Apr 2013 02:02:10 +0000 (4 03:02 +0100)
treea3d9089c0eddddba5cb96c78433ed513f4ec15f7
parent7abf99e1907b1b05cb45eacaa98bfa73efe0ab92
tests: avoid shared lib tests on unsupported platforms

* init.cfg (require_gcc_shared_): A new function to check
that we can build shared libraries in the particular manner
we use in our tests.
* tests/cp/nfs-removal-race.sh: Use require_gcc_shared_.
Then fail rather than skip, if the actual shared lib build fails.
* tests/df/no-mtab-status.sh: Likewise.
* tests/df/skip-duplicates.sh: Likewise.
* tests/ls/getxattr-speedup.sh: Likewise.
Reported in http://bugs.gnu.org/14024
init.cfg
tests/cp/nfs-removal-race.sh
tests/df/no-mtab-status.sh
tests/df/skip-duplicates.sh
tests/ls/getxattr-speedup.sh