#!/bin/sh
+# Copyright 2021 Ian Jackson and contributors to Hippotat
+# SPDX-License-Identifier: GPL-3.0-or-later
+# There is NO WARRANTY.
+
set -e
-target/debug/hippotat --config src/test/test.cfg --debug
+slug=$1; if [ $# -gt 0 ]; then shift; fi
+
+if [ "x$1" = x--- ]; then
+ shift
+else
+ set target/debug/hippotat --config src/test/test.cfg --debug "$@"
+fi
+
+ip netns exec hippotat-t-$slug-client "$@"
+