projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make tests public. Rewrite most tests. Add tests.
[pintos-anon]
/
src
/
tests
/
userprog
/
read-bad-fd.ck
diff --git a/src/tests/userprog/read-bad-fd.ck
b/src/tests/userprog/read-bad-fd.ck
new file mode 100644
(file)
index 0000000..
3dd5a93
--- /dev/null
+++ b/
src/tests/userprog/read-bad-fd.ck
@@ -0,0
+1,12
@@
+# -*- perl -*-
+use strict;
+use warnings;
+use tests::tests;
+check_expected ([<<'EOF', <<'EOF']);
+(read-bad-fd) begin
+(read-bad-fd) end
+read-bad-fd: exit(0)
+EOF
+(read-bad-fd) begin
+read-bad-fd: exit(-1)
+EOF