diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-23 17:04:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-23 17:04:49 +0200 |
commit | 796dc21edf3031223bbca12e568548ae048c30c5 (patch) | |
tree | 325709b6d0d5947b61c28a80b200fc897b4dbf56 | |
parent | 2c384a3ca8986175ef7966678c31e5fe1e552a80 (diff) |
Make fake process exited successfully for safety
-rw-r--r-- | build2/test/rule.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx index 8e6c92b..a67ceff 100644 --- a/build2/test/rule.cxx +++ b/build2/test/rule.cxx @@ -774,6 +774,8 @@ namespace build2 const path& ip (it.path ()); assert (!ip.empty ()); // Should have been assigned by update. + cat = process (process_exit (0)); // Successfully exited. + if (!dry_run) { try |