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