summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile4
-rwxr-xr-xtest/hello.sh11
2 files changed, 15 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..31766f2
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,4 @@
+nothing:
+ @echo to be done...
+
+.PHONY: nothing
diff --git a/test/hello.sh b/test/hello.sh
new file mode 100755
index 0000000..26711ef
--- /dev/null
+++ b/test/hello.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+ROOT=$(dirname $0)/..
+PATH=$ROOT/cmd/tunnel
+
+tunnel env clear
+tunnel env set cmd echo
+tunnel env set x Hello
+tunnel env set y World
+tunnel env set args "%x, %y!"
+tunnel %cmd %args