#!/bin/sh
# Copyright 2021 Ian Jackson and contributors to Hippotat
# SPDX-License-Identifier: GPL-3.0-or-later
# There is NO WARRANTY.

set -e
slug=$1; if [ $# -gt 0 ]; then shift; fi

if [ "x$1" = x--- ]; then
	shift
else
	set target/debug/hippotatd --config src/test/test.cfg --debug "$@"
fi

ip netns exec hippotat-t-$slug-server "$@"

