]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - io/tst-open-tmpfile.c
support: Introduce new subdirectory for test infrastructure
[thirdparty/glibc.git] / io / tst-open-tmpfile.c
index 9242d62392ec881b24c5b261068ed2cfdaf94167..23fa819c3cb8449581e9578c6a26b96364d244cf 100644 (file)
 #include <sys/stat.h>
 #include <unistd.h>
 
-static int do_test (void);
-
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/support.h>
 
 #ifdef O_TMPFILE
 typedef int (*wrapper_func) (const char *, int, mode_t);
@@ -317,3 +314,5 @@ do_test (void)
 }
 
 #endif  /* O_TMPFILE */
+
+#include <support/test-driver.c>