chiark / gitweb /
test scripts: arg handling
[hippotat.git] / test / run-server
index 6e5a653dd8c1a8f22e4db96589050fc7e4ea0735..04dc5539051ecfbdfe388f3aeb0fcaef078f2bb3 100755 (executable)
@@ -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 "$@"