projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Mention that process_wait() can be changed to an infinite loop
[pintos-anon]
/
src
/
tests
/
userprog
/
exec-arg.ck
1
# -*- perl -*-
2
use strict;
3
use warnings;
4
use tests::tests;
5
check_expected ([<<'EOF']);
6
(exec-arg) begin
7
(args) begin
8
(args) argc = 2
9
(args) argv[0] = 'child-args'
10
(args) argv[1] = 'childarg'
11
(args) argv[2] = null
12
(args) end
13
child-args: exit(0)
14
(exec-arg) end
15
exec-arg: exit(0)
16
EOF