provided code
This commit is contained in:
13
src/tests/userprog/open-bad-ptr.ck
Normal file
13
src/tests/userprog/open-bad-ptr.ck
Normal file
@@ -0,0 +1,13 @@
|
||||
# -*- perl -*-
|
||||
use strict;
|
||||
use warnings;
|
||||
use tests::tests;
|
||||
check_expected ([<<'EOF', <<'EOF']);
|
||||
(open-bad-ptr) begin
|
||||
(open-bad-ptr) end
|
||||
open-bad-ptr: exit(0)
|
||||
EOF
|
||||
(open-bad-ptr) begin
|
||||
open-bad-ptr: exit(-1)
|
||||
EOF
|
||||
pass;
|
||||
Reference in New Issue
Block a user