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