9 # define EXECVP(file, argv) execvp (file, argv)
15 char buf[40] = "/usr/bin/does-not-exist";
16 size_t stemlen = strlen (buf);
19 while (stat64 (buf, &st) != -1 || errno != ENOENT
20 || stat64 (buf + 4, &st) != -1 || errno != ENOENT)
24 puts ("cannot find a unique file name");
28 strcpy (buf + stemlen, ".XXXXXX");
33 char *argv[] = { buf + 9, NULL };
34 EXECVP (argv[0], argv);
38 #define TEST_FUNCTION do_test ()
39 #include "../test-skeleton.c"