5 check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF', <<'EOF']);
7 (dir-rm-cwd-cd) mkdir "a"
8 (dir-rm-cwd-cd) chdir "a"
9 (dir-rm-cwd-cd) remove "/a" (must not crash)
10 (dir-rm-cwd-cd) chdir "/a" (remove succeeded so this must return false)
14 (dir-rm-cwd-cd) mkdir "a"
15 (dir-rm-cwd-cd) chdir "a"
16 (dir-rm-cwd-cd) remove "/a" (must not crash)
17 (dir-rm-cwd-cd) chdir "/a" (remove failed so this must succeed)