the Compartmented Robust Posix C++ Unit Test system

WIPE_WORKING_DIR

Clean out any remaining files after the test

Used in: The modifier list of a test definition. See TEST(name, ...)

Post mortem action for EXPECT_EXIT(num, action?) and EXPECT_SIGNAL_DEATH(signo, action?) which clears all files in the working directory of the test case process.

[Tip]Tip
This can be useful when doing negative tests for functions that create files, or use fixtures that set up a file structure.

[Note]Note
This action is disabled if running with the -s / --single-shot command line parameter.