chiark / gitweb /
test scripts: arg handling
[hippotat.git] / test / run-client
1 #!/bin/sh
2 # Copyright 2021 Ian Jackson and contributors to Hippotat
3 # SPDX-License-Identifier: GPL-3.0-or-later
4 # There is NO WARRANTY.
5
6 set -e
7 slug=$1; if [ $# -gt 0 ]; then shift; fi
8
9 ip netns exec hippotat-t-$slug-client \
10 target/debug/hippotat --config src/test/test.cfg --debug "$@"