Differences From Artifact [bf448d2b80]:
- File new_tests/OFSubprocessTests.m — part of check-in [9c28411f49] at 2024-02-11 21:46:00 on branch objfwtest — Migrate OFSubprocessTests to ObjFWTest (user: js, size: 1500) [annotate] [blame] [check-ins using] [more...]
To Artifact [c950e491df]:
- File new_tests/OFSubprocessTests.m — part of check-in [88fea306d2] at 2024-02-15 20:20:16 on branch objfwtest — Fix OFSubprocessTests with disabled Unicode tables (user: js, size: 1607) [annotate] [blame] [check-ins using]
- File tests/OFSubprocessTests.m — part of check-in [7a84580fb6] at 2024-02-18 19:29:26 on branch objfwtest — Rename new tests (user: js, size: 1607) [annotate] [blame] [check-ins using]
| ︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | + + + + | subprocess = [OFSubprocess subprocessWithProgram: program programName: program arguments: arguments environment: environment]; [subprocess writeLine: @"Hellö world!"]; #ifdef OF_HAVE_UNICODE_TABLES OTAssertEqualObjects([subprocess readLine], @"HELLÖ WORLD!"); #else OTAssertEqualObjects([subprocess readLine], @"HELLö WORLD!"); #endif [subprocess closeForWriting]; OTAssertEqual([subprocess waitForTermination], 0); } @end |