91e7c0f37074741b6f122f7a7b551aac9f34d0be
[pintos-anon] / src / tests / filesys / extended / dir-rm-cwd.ck
1 # -*- perl -*-
2 use strict;
3 use warnings;
4 use tests::tests;
5 check_expected (IGNORE_EXIT_CODES => 1, [<<'EOF']);
6 (dir-rm-cwd) begin
7 (dir-rm-cwd) mkdir "a"
8 (dir-rm-cwd) chdir "a"
9 (dir-rm-cwd) remove "/a" (must not crash)
10 (dir-rm-cwd) create "b" (must not crash)
11 (dir-rm-cwd) end
12 EOF