The grep -v should have been grep, but, why even bother?
Tox doesn't output that much; just dump it, and exit with
tox's error code.
Fixes: http://tracker.ceph.com/issues/17267
Signed-off-by: Dan Mick <dan.mick@redhat.com>
fi
source ${CEPH_DETECT_INIT_VIRTUALENV}/bin/activate
-tox -c ${TOX_PATH} > ${CEPH_DETECT_INIT_VIRTUALENV}/tox.out 2>&1
-status=$?
-grep -v InterpreterNotFound < ${CEPH_DETECT_INIT_VIRTUALENV}/tox.out
-exit $status
+tox -c ${TOX_PATH}
fi
source ${CEPH_DISK_VIRTUALENV}/bin/activate
-tox -c ${TOX_PATH} > ${CEPH_DISK_VIRTUALENV}/tox.out 2>&1
-status=$?
-grep -v InterpreterNotFound < ${CEPH_DISK_VIRTUALENV}/tox.out
-exit $status
+tox -c ${TOX_PATH}