From 9dd6bfd031aa2fdca87757f98571bc846b6e40c3 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Thu, 28 Sep 2023 15:17:12 +1000 Subject: [PATCH] Refactor test --- examples/test.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/test.sh b/examples/test.sh index 8be627e..ef2dd1d 100755 --- a/examples/test.sh +++ b/examples/test.sh @@ -4,10 +4,9 @@ set -ex cargo build -for cargo_file in */Cargo.toml -do - target/debug/$(dirname $cargo_file) & - pid=$! - sleep 10 - kill $pid +for cargo_file in */Cargo.toml; do + target/debug/$(dirname $cargo_file) & + pid=$! + sleep 20 + kill $pid done