From fcef8ded2ecc4e0a4fe9de7a50933bc56cdeb1f0 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 Dec 2013 10:42:27 -0600 Subject: update test for remote_punani --- ship/t/docker/punani/remote_punani | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ship/t/docker/punani') 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 ) -- cgit v1.2.3