testsuite preload: Factorize into macros, add more stat and open variants
authorMartin Pitt <martinpitt@gnome.org>
Wed, 1 Aug 2012 21:35:34 +0000 (23:35 +0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 1 Aug 2012 23:44:27 +0000 (20:44 -0300)
commit123e8278ed8db4bd2f9a774dd700124de79d3bf4
tree42a15c6b7ff2aba30dd64d6bfe83695a95105ea7
parentf38e68a29c2bc87fef7dda81218d65f193e6205f
testsuite preload: Factorize into macros, add more stat and open variants

Instead of replicating the same code several times, define and use macros for
the various types of wrapped functions in the testsuite's path.c LD_PRELOAD
wrapper.

Add various __xstat() variants and open64(), which are being used when enabling
large file support.
testsuite/path.c