diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-04-02 21:54:55 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-04-03 08:31:44 +0200 |
commit | ca7b8d7e94e0bef7e56072f02c871bf385f21784 (patch) | |
tree | 2bf16180ecc21a304eaf48afb124ca46da7c679c /test/execute_test.cc | |
parent | cd6c3ea1c3ca853fc38da4fa5fd62545c31aa92d (diff) |
WIPmsvc
Diffstat (limited to 'test/execute_test.cc')
-rw-r--r-- | test/execute_test.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/execute_test.cc b/test/execute_test.cc index 11b067f..4084084 100644 --- a/test/execute_test.cc +++ b/test/execute_test.cc @@ -36,11 +36,23 @@ public: value = execute(s, "no-such-binary", {}, {}, false); uASSERT_EQUAL(1, value); value = execute(s, cmd, {"segfault"}, {}, false); +#if !defined(_WIN32) uASSERT_EQUAL(11, value); +#else + uASSERT_EQUAL(3, value); +#endif value = execute(s, cmd, {"throw"}, {}, false); +#if !defined(_WIN32) uASSERT_EQUAL(6, value); +#else + uASSERT_EQUAL(-1073740791, value); +#endif value = execute(s, cmd, {"abort"}, {}, false); +#if !defined(_WIN32) uASSERT_EQUAL(6, value); +#else + uASSERT_EQUAL(-1073740791, value); +#endif } void env() |