mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-29 21:03:35 +04:00
Modify run_pipe_test.
This commit is contained in:
parent
95ae533972
commit
861ee7acf5
@ -8,7 +8,7 @@ use user_lib::{exec, fork, wait};
|
|||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn main() -> i32 {
|
pub fn main() -> i32 {
|
||||||
for i in 0..1000 {
|
for i in 0..5 {
|
||||||
if fork() == 0 {
|
if fork() == 0 {
|
||||||
exec("pipe_large_test\0", &[core::ptr::null::<u8>()]);
|
exec("pipe_large_test\0", &[core::ptr::null::<u8>()]);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user