From c73512e8efc2da99517ad0688178f8a4261e10b8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 14 Aug 2021 00:18:52 +0100 Subject: [PATCH] test scripts: arg handling Signed-off-by: Ian Jackson --- test/run-client | 4 ++-- test/run-server | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/run-client b/test/run-client index c545d66..8844200 100755 --- a/test/run-client +++ b/test/run-client @@ -4,7 +4,7 @@ # There is NO WARRANTY. set -e -slug=$1 +slug=$1; if [ $# -gt 0 ]; then shift; fi ip netns exec hippotat-t-$slug-client \ -target/debug/hippotat --config src/test/test.cfg --debug +target/debug/hippotat --config src/test/test.cfg --debug "$@" diff --git a/test/run-server b/test/run-server index 6e5a653..04dc553 100755 --- a/test/run-server +++ b/test/run-server @@ -4,7 +4,7 @@ # There is NO WARRANTY. set -e -slug=$1 +slug=$1; if [ $# -gt 0 ]; then shift; fi ip netns exec hippotat-t-$slug-server \ -target/debug/hippotatd --config src/test/test.cfg --debug +target/debug/hippotatd --config src/test/test.cfg --debug "$@" -- 2.30.2