diff options
author | Jhon Honce <jhonce@redhat.com> | 2018-05-16 08:12:36 -0700 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-05-16 18:48:40 +0000 |
commit | 9fed15af938fdd92ee38d398bcd262130d03ed96 (patch) | |
tree | 838daa0ae9e55ea3e476aeb1805291215703cdb5 /test/varlink/run_varlink_tests.sh | |
parent | 7dced311d1119d98dbdd60f6d47fdde5abbff7d7 (diff) | |
download | podman-9fed15af938fdd92ee38d398bcd262130d03ed96.tar.gz podman-9fed15af938fdd92ee38d398bcd262130d03ed96.tar.bz2 podman-9fed15af938fdd92ee38d398bcd262130d03ed96.zip |
Remove old varlink tests
* Replaced by tests in libpod/contrib/python/test
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Closes: #766
Approved by: rhatdan
Diffstat (limited to 'test/varlink/run_varlink_tests.sh')
-rwxr-xr-x | test/varlink/run_varlink_tests.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/varlink/run_varlink_tests.sh b/test/varlink/run_varlink_tests.sh deleted file mode 100755 index fe82b39ef..000000000 --- a/test/varlink/run_varlink_tests.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -if [ ! -n "${PYTHON+ }" ]; then - if hash python3 > /dev/null 2>&1; then - PYTHON=$(hash -t python3) - elif type python3 > /dev/null 2>&1; then - PYTHON=$(type python3 | awk '{print $3}') - elif hash python2 > /dev/null 2>&1; then - PYTHON=$(hash -t python2) - elif type python2 > /dev/null 2>&1; then - PYTHON=$(type python2 | awk '{print $3}') - else - PYTHON='/usr/bin/python' - fi -fi - -# Create temporary directory for storage -TMPSTORAGE=`mktemp -d /tmp/podman.XXXXXXXXXX` -trap 'rm -fr ${TMPSTORAGE}' EXIT - -export PODMAN_HOST="unix:${TMPSTORAGE}/podman/io.projectatomic.podman" - -# Need a location to store the podman socket -mkdir -p ${TMPSTORAGE}/podman - -bin/podman --version - -set -x -# Run podman in background without systemd for test purposes -bin/podman --storage-driver=vfs --root=${TMPSTORAGE}/crio \ - --runroot=${TMPSTORAGE}/crio-run varlink ${PODMAN_HOST} & - -${PYTHON} -m unittest discover -s test/varlink/ $@ -pkill podman |