Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
ZMZ
OSKernel2023-ZMZ
Commits
a6f22a6b
Commit
a6f22a6b
authored
1 year ago
by
zrh
Browse files
Options
Download
Patches
Plain Diff
why can't it enter?
parent
a427ea3a
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xv6-user/run_test.c
+6
-3
xv6-user/run_test.c
with
6 additions
and
3 deletions
+6
-3
xv6-user/run_test.c
+
6
−
3
View file @
a6f22a6b
...
...
@@ -12,9 +12,12 @@ static longtest libctest_dy[];
void
test_busybox
(){
dev
(
2
,
1
,
0
);
dup
(
0
);
dup
(
0
);
// dev(2,1,0);
// dup(0);
// dup(0);
open
(
"/dev/console"
,
O_RDWR
);
dup
(
0
);
dup
(
0
);
int
status
,
pid
=
fork
();
int
i
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets