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 )