test_atexit: fix code saving/restoring stdout and stderr

That's why I prefer a single instruction per line :-)
1 file changed