From 15346554203c64f2deecee01e6aaebd3a20495bf Mon Sep 17 00:00:00 2001 From: Evan Culver Date: Wed, 18 Dec 2013 12:28:36 -0800 Subject: [PATCH] Fixing silly bug in test wrapper's django version detection. --- test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index 3eeeeb2..094e309 100755 --- a/test.sh +++ b/test.sh @@ -7,9 +7,9 @@ DJ_VERSION=$(django-admin.py --version) IS_16=$(echo $DJ_VERSION | grep "1.6") -# if django version it's not 1.6 and so we pass different +# if django version is not 1.6 (non-0 exit) we have to pass different # app names to test runner -if [ "$IS_16" = "1.6" ]; then +if [ "$?" -ne "1" ]; then app_names=( provider provider.oauth2 ) else app_names=( provider oauth2 )