1 /* Tries to remove the current directory.
2 This is allowed to succeed or fail.
3 Then creates a file in the root to make sure that we haven't
4 corrupted any directory state. */
8 #include "tests/main.h"
13 CHECK (mkdir ("a"), "mkdir \"a\"");
14 CHECK (chdir ("a"), "chdir \"a\"");
15 msg ("remove \"/a\" (must not crash)");
17 msg ("create \"b\" (must not crash)");