Lines Matching refs:myargs
46 char *myargs[4]; in ATF_TC_BODY() local
56 myargs[0] = "sh"; in ATF_TC_BODY()
57 myargs[1] = "-c"; in ATF_TC_BODY()
58 myargs[2] = "exit $answer"; in ATF_TC_BODY()
59 myargs[3] = NULL; in ATF_TC_BODY()
60 error = posix_spawnp(&pid, myargs[0], NULL, NULL, myargs, myenv); in ATF_TC_BODY()
70 char *myargs[4]; in ATF_TC_BODY() local
79 myargs[0] = "/var/empty/nonexistent"; in ATF_TC_BODY()
80 myargs[1] = NULL; in ATF_TC_BODY()
81 error = posix_spawn(&pid, myargs[0], NULL, NULL, myargs, myenv); in ATF_TC_BODY()
97 char *myargs[2]; in ATF_TC_BODY() local
103 myargs[0] = buf; in ATF_TC_BODY()
104 myargs[1] = NULL; in ATF_TC_BODY()
105 error = posix_spawnp(&pid, myargs[0], NULL, NULL, myargs, myenv); in ATF_TC_BODY()
116 char *myargs[1]; in ATF_TC_BODY() local
122 myargs[0] = NULL; in ATF_TC_BODY()
123 error = posix_spawnp(&pid, buf, NULL, NULL, myargs, myenv); in ATF_TC_BODY()