From 485ff7a4ea30c66f9b86587c70ff480a94eb08d4 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 13 Sep 2016 20:29:52 -0700 Subject: [PATCH] Stop hiding errors from run-tox.sh 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 --- src/ceph-detect-init/run-tox.sh | 5 +---- src/ceph-disk/run-tox.sh | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/ceph-detect-init/run-tox.sh b/src/ceph-detect-init/run-tox.sh index 3624381b8084..0c135c5aedb3 100755 --- a/src/ceph-detect-init/run-tox.sh +++ b/src/ceph-detect-init/run-tox.sh @@ -33,7 +33,4 @@ else 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} diff --git a/src/ceph-disk/run-tox.sh b/src/ceph-disk/run-tox.sh index ae96e803dea1..76935b9e1f7d 100755 --- a/src/ceph-disk/run-tox.sh +++ b/src/ceph-disk/run-tox.sh @@ -30,7 +30,4 @@ if [ -z $CEPH_BUILD_DIR ]; then 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} -- 2.47.3