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