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