summaryrefslogtreecommitdiffstats
path: root/tests/userprog/exec-arg.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/userprog/exec-arg.c')
-rw-r--r--tests/userprog/exec-arg.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/userprog/exec-arg.c b/tests/userprog/exec-arg.c
new file mode 100644
index 0000000..82d0744
--- /dev/null
+++ b/tests/userprog/exec-arg.c
@@ -0,0 +1,10 @@
1/* Tests argument passing to child processes. */
2
3#include <syscall.h>
4#include "tests/main.h"
5
6void
7test_main (void)
8{
9 wait (exec ("child-args childarg"));
10}