From 861ee7acf5563e5ab4eb4e2a6a8114744c2a2fed Mon Sep 17 00:00:00 2001 From: Yifan Wu Date: Wed, 14 Dec 2022 00:19:25 +0800 Subject: [PATCH] Modify run_pipe_test. --- user/src/bin/run_pipe_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/src/bin/run_pipe_test.rs b/user/src/bin/run_pipe_test.rs index ea99b6a7..d3e329d1 100644 --- a/user/src/bin/run_pipe_test.rs +++ b/user/src/bin/run_pipe_test.rs @@ -8,7 +8,7 @@ use user_lib::{exec, fork, wait}; #[no_mangle] pub fn main() -> i32 { - for i in 0..1000 { + for i in 0..5 { if fork() == 0 { exec("pipe_large_test\0", &[core::ptr::null::()]); } else {