diff options
author | root <root@cband> | 2013-12-30 10:42:27 -0600 |
---|---|---|
committer | root <root@cband> | 2013-12-30 10:42:27 -0600 |
commit | fcef8ded2ecc4e0a4fe9de7a50933bc56cdeb1f0 (patch) | |
tree | 9246efa6a9a4c325b78286649d0e579d10ecc324 /ship/t/docker/punani | |
parent | 98430f98257bbf5b769aec598c30aee60a3d69b6 (diff) |
update test for remote_punani
Diffstat (limited to 'ship/t/docker/punani')
-rw-r--r-- | ship/t/docker/punani/remote_punani | 9 |
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 ) |