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