1 /* Tries to remove a parent of the current directory. This must
2 fail, because that directory is non-empty. */
6 #include "tests/main.h"
11 CHECK (mkdir ("a"), "mkdir \"a\"");
12 CHECK (chdir ("a"), "chdir \"a\"");
13 CHECK (mkdir ("b"), "mkdir \"b\"");
14 CHECK (chdir ("b"), "chdir \"b\"");
15 CHECK (!remove ("/a"), "remove \"/a\" (must fail)");