summaryrefslogtreecommitdiff
path: root/contrib/cirrus/resetup_and_run_rootless.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-03-22 09:44:03 -0400
committerChris Evich <cevich@redhat.com>2019-05-21 08:44:02 -0400
commitc4d9b03f7800e37df0a8821b450932700aac3c5d (patch)
tree92c6d1478d0bb15cc5944c4d9e2fe25aaa003c08 /contrib/cirrus/resetup_and_run_rootless.sh
parent51a95e6ef1b4616f308d0a7a5507c2ece74a9f0f (diff)
downloadpodman-c4d9b03f7800e37df0a8821b450932700aac3c5d.tar.gz
podman-c4d9b03f7800e37df0a8821b450932700aac3c5d.tar.bz2
podman-c4d9b03f7800e37df0a8821b450932700aac3c5d.zip
Cirrus: Overhaul/Simplify env. var setup
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/resetup_and_run_rootless.sh')
-rwxr-xr-xcontrib/cirrus/resetup_and_run_rootless.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/contrib/cirrus/resetup_and_run_rootless.sh b/contrib/cirrus/resetup_and_run_rootless.sh
deleted file mode 100755
index 1c387fdf5..000000000
--- a/contrib/cirrus/resetup_and_run_rootless.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-set -e
-
-# N/B: This script is only intended to be used for the special-case of
-# setting up and executing the rootless tests AFTER normal tests complete
-# while testing a freshly built image.
-
-source $(dirname $0)/lib.sh
-
-# must be after source lib.sh b/c it loads $ENVLIB
-export ROOTLESS_USER="pilferingpirate$RANDOM"
-
-req_env_var "
-CIRRUS_WORKING_DIR $CIRRUS_WORKING_DIR
-GOSRC $GOSRC
-SCRIPT_BASE $SCRIPT_BASE
-ROOTLESS_USER $ROOTLESS_USER
-"
-
-if ! run_rootless
-then
- die 86 "Error: Expected rootless env. var not set or empty"
-fi
-
-cd $GOSRC
-make clean
-setup_rootless
-
-ssh $ROOTLESS_USER@localhost \
- -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o CheckHostIP=no \
- $CIRRUS_WORKING_DIR/$SCRIPT_BASE/rootless_test.sh