-/* Tries to remove the change of parents of the current
- directory.
- This can succeed or fail as long as it doesn't crash. */
+/* Tries to remove a parent of the current directory. This must
+ fail, because that directory is non-empty. */
CHECK (chdir ("a"), "chdir \"a\"");
CHECK (mkdir ("b"), "mkdir \"b\"");
CHECK (chdir ("b"), "chdir \"b\"");
CHECK (chdir ("a"), "chdir \"a\"");
CHECK (mkdir ("b"), "mkdir \"b\"");
CHECK (chdir ("b"), "chdir \"b\"");