Changeset 025f9c5 for tests/meta
- Timestamp:
- Sep 11, 2024, 1:33:42 PM (6 months ago)
- Branches:
- master
- Children:
- efe697d
- Parents:
- a35e342
- Location:
- tests/meta
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tests/meta/fork+exec.cfa ¶
ra35e342 r025f9c5 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) { -
TabularUnified tests/meta/fork+exec.hfa ¶
ra35e342 r025f9c5 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.