projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make tests public. Rewrite most tests. Add tests.
[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