Commit f27e029e authored by Thiago Macieira's avatar Thiago Macieira
Browse files

Autotest: use _exit() instead of exit() to simulate an unclean exit


We're not going to crash to avoid core dumps getting recorded by
systemd, filling up filesystems or showing dialog boxes. We just need to
exit without running destructors. Now, exit() isn't supposed to run
function-scope destructors, so just in case we use _exit().

Change-Id: I0b48fc8e90304e0dacc3fffd14e909ff248ce1a1
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
parent f0096a2b
No related merge requests found
Showing with 11 additions and 5 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment