Modify run_pipe_test.

This commit is contained in:
Yifan Wu 2022-12-14 00:19:25 +08:00
parent 95ae533972
commit 861ee7acf5

View File

@ -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 {