]>
sourceware.org Git - glibc.git/blob - posix/tst-execvp1.c
9 char *cwd
= get_current_dir_name ();
12 puts ("get_current_dir_name failed");
16 /* Make sure we do not find a binary with the name we are going to
18 setenv ("PATH", cwd
, 1);
20 char *argv
[] = { (char *) "does-not-exist", NULL
};
22 execvp (argv
[0], argv
);
26 printf ("errno = %d (%m), expected ENOENT\n", errno
);
33 #define TEST_FUNCTION do_test ()
34 #include "../test-skeleton.c"
This page took 0.036927 seconds and 5 git commands to generate.