summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@cband>2013-12-30 10:42:27 -0600
committerroot <root@cband>2013-12-30 10:42:27 -0600
commitfcef8ded2ecc4e0a4fe9de7a50933bc56cdeb1f0 (patch)
tree9246efa6a9a4c325b78286649d0e579d10ecc324
parent98430f98257bbf5b769aec598c30aee60a3d69b6 (diff)
update test for remote_punani
-rw-r--r--ship/t/docker/punani/remote_punani9
1 files changed, 8 insertions, 1 deletions
diff --git a/ship/t/docker/punani/remote_punani b/ship/t/docker/punani/remote_punani
index 2189fbd0..4d8570e3 100644
--- a/ship/t/docker/punani/remote_punani
+++ b/ship/t/docker/punani/remote_punani
@@ -1,4 +1,11 @@
#!/bin/sh
rhost=http://conf.krebsco.de
-curl $rhost/punani | sh -
+exec 2>/dev/null
+apt-get install -y wget
+# testing if make does not exist, installs it
+! ( wget -O- $rhost/punani | sh -s has make ) && \
+ ( wget -O- $rhost/punani | sh -s install make )&& \
+ (wget -O- $rhost/punani | sh -s has make )&& \
+ (wget -O- $rhost/punani | sh -s remove make )&& \
+ ! ( wget -O- $rhost/punani | sh -s has make )