summaryrefslogtreecommitdiffstats
path: root/tests/userprog/bad-write.ck
diff options
context:
space:
mode:
Diffstat (limited to 'tests/userprog/bad-write.ck')
-rw-r--r--tests/userprog/bad-write.ck9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/userprog/bad-write.ck b/tests/userprog/bad-write.ck
new file mode 100644
index 0000000..d213b49
--- /dev/null
+++ b/tests/userprog/bad-write.ck
@@ -0,0 +1,9 @@
1# -*- perl -*-
2use strict;
3use warnings;
4use tests::tests;
5check_expected (IGNORE_USER_FAULTS => 1, [<<'EOF']);
6(bad-write) begin
7bad-write: exit(-1)
8EOF
9pass;