summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
81da486)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
set -e
slug=$1; if [ $# -gt 0 ]; then shift; fi
set -e
slug=$1; if [ $# -gt 0 ]; then shift; fi
-ip netns exec hippotat-t-$slug-client \
-target/debug/hippotat --config src/test/test.cfg --debug "$@"
+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 "$@"
+
set -e
slug=$1; if [ $# -gt 0 ]; then shift; fi
set -e
slug=$1; if [ $# -gt 0 ]; then shift; fi
-ip netns exec hippotat-t-$slug-server \
-target/debug/hippotatd --config src/test/test.cfg --debug "$@"
+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 "$@"
+