From c78791b8fe5d806bd20e3caf832a924e512575ff Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 21 Dec 2012 10:30:44 +0200 Subject: [PATCH] test: Make it possible to call test-network with a "connect" parameter --- test/test-network | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-network b/test/test-network index 626cd9924..3e8713f62 100755 --- a/test/test-network +++ b/test/test-network @@ -25,6 +25,10 @@ if (len(args) < 1): print("Usage: %s
[service]" % (sys.argv[0])) sys.exit(1) +# Fix-up in case of "connect" invocation that other scripts use +if args[0] == "connect": + del args[:1] + if (len(args) < 2): service = "panu" else: -- 2.47.3