Changeset 5ef4008 for tests/meta
- Timestamp:
- Sep 13, 2024, 2:43:22 PM (18 months ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- 8c79dc3c
- Parents:
- c494b84 (diff), 9739c56f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- tests/meta
- Files:
-
- 2 edited
-
fork+exec.cfa (modified) (1 diff)
-
fork+exec.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/meta/fork+exec.cfa
rc494b84 r5ef4008 32 32 33 33 34 int true_main(const char * path, c har * env[]) {34 int true_main(const char * path, const char * env[]) { 35 35 printf("no arg:\n"); 36 36 if(pid_t child = strict_fork(); child == 0) { -
tests/meta/fork+exec.hfa
rc494b84 r5ef4008 28 28 } 29 29 30 static int true_main(const char * path, c har * env[]);30 static int true_main(const char * path, const char * env[]); 31 31 32 32 static int do_wait(pid_t pid) { … … 70 70 if(getenv("CFATEST_FORK_EXEC_TEXT")) return; 71 71 72 c har * env[] = { "CFATEST_FORK_EXEC_TEXT=1", 0p};72 const char * env[] = { "CFATEST_FORK_EXEC_TEXT=1", (char*)0 }; 73 73 exit( true_main(path, env) ); 74 74 }
Note:
See TracChangeset
for help on using the changeset viewer.