From 5625de52c03d9e8c72b238b1d2324812c1e91f24 Mon Sep 17 00:00:00 2001 From: sat0ken <15720506+sat0ken@users.noreply.github.com> Date: Fri, 8 Nov 2024 13:23:54 +0900 Subject: [PATCH] add process args to run test Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com> --- .../src/tests/process_rlimits/process_rlimits_test.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/contest/contest/src/tests/process_rlimits/process_rlimits_test.rs b/tests/contest/contest/src/tests/process_rlimits/process_rlimits_test.rs index fdf4e4f6b..7d5456d50 100644 --- a/tests/contest/contest/src/tests/process_rlimits/process_rlimits_test.rs +++ b/tests/contest/contest/src/tests/process_rlimits/process_rlimits_test.rs @@ -21,10 +21,15 @@ fn create_rlimit( Ok(rlimit) } +#[allow(clippy::identity_op)] fn create_spec() -> Result { let spec = SpecBuilder::default() .process( ProcessBuilder::default() + .args(vec![ + "runtimetest".to_string(), + "process_rlimits".to_string(), + ]) .rlimits(vec![ create_rlimit(PosixRlimitType::RlimitAs, 2 * GIGABYTES, 1 * GIGABYTES).unwrap(), create_rlimit(PosixRlimitType::RlimitCore, 4 * GIGABYTES, 3 * GIGABYTES)