summaryrefslogtreecommitdiffstats
path: root/ship/t
diff options
context:
space:
mode:
authorroot <root@cband>2013-12-30 10:17:46 -0600
committerroot <root@cband>2013-12-30 10:17:46 -0600
commit98430f98257bbf5b769aec598c30aee60a3d69b6 (patch)
tree0c3557994f03f103f1e000d7cfd0bbd59337d75b /ship/t
parent11de3d6d4c62f7059cdb45992d7d0fec05dde0e4 (diff)
fix tests for docker_remote_punani
Diffstat (limited to 'ship/t')
-rwxr-xr-xship/t/docker/docker_remote_punani.sh3
-rw-r--r--ship/t/docker/punani/remote_punani4
2 files changed, 7 insertions, 0 deletions
diff --git a/ship/t/docker/docker_remote_punani.sh b/ship/t/docker/docker_remote_punani.sh
new file mode 100755
index 00000000..76e34068
--- /dev/null
+++ b/ship/t/docker/docker_remote_punani.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd $(dirname $(readlink -f $0))
+docker run -v $PWD/punani/:/test ubuntu /bin/sh /test/remote_punani >/dev/null
diff --git a/ship/t/docker/punani/remote_punani b/ship/t/docker/punani/remote_punani
new file mode 100644
index 00000000..2189fbd0
--- /dev/null
+++ b/ship/t/docker/punani/remote_punani
@@ -0,0 +1,4 @@
+#!/bin/sh
+rhost=http://conf.krebsco.de
+
+curl $rhost/punani | sh -