/* Tries to execute a nonexistent process. The exec system call must return -1. */ #include #include "tests/lib.h" #include "tests/main.h" void test_main (void) { msg ("exec(\"no-such-file\"): %d", exec ("no-such-file")); }