From 0240a7cfb6f92c499f08b0c88743b52ca069be4e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 6 Mar 2018 09:46:02 -0500 Subject: [PATCH] fix tests Signed-off-by: Kenneth Reitz --- run-tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index afcb2cc5..f93a9085 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -27,8 +27,7 @@ if [[ ! -z "$CI" ]]; then else # Otherwise, assume MacOS… - OS=$(python -c "import sys; print(sys.platform)") - if [[ OS == "darwin" ]]; then + if [[ $(python -c "import sys; print(sys.platform)") == "darwin" ]]; then echo "Using RAM disk (assuming MacOS)…" RAM_DISK="/Volumes/RAMDisk"