Corrected if statement for clean_openstack 35/12635/2
authorvitikkan <viktor.tikkanen@nokia.com>
Mon, 25 Apr 2016 11:43:57 +0000 (14:43 +0300)
committerJose Lausuch <jose.lausuch@ericsson.com>
Mon, 25 Apr 2016 12:26:36 +0000 (12:26 +0000)
Change-Id: I3d8c0cb81dc4906ea989bd36dc8c29bf9f1f6396
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
docker/run_tests.sh

index c258136..1ef90b2 100755 (executable)
@@ -191,7 +191,7 @@ bgpvpn = True" >> /etc/tempest/tempest.conf
         ;;
     esac
 
-    if [[ -n $clean_flag ]]; then
+    if [ $clean == "true" ]; then
         clean_openstack
     fi
 }