]> xenbits.xensource.com Git - people/liuw/rumprun.git/commitdiff
stop the test only if we started it
authorAntti Kantee <pooka@iki.fi>
Mon, 20 Apr 2015 08:26:30 +0000 (08:26 +0000)
committerAntti Kantee <pooka@iki.fi>
Mon, 20 Apr 2015 08:26:30 +0000 (08:26 +0000)
tests/runtests.sh

index c584a84b28bcc63781124bd4080fb20e8286d58f..d3a965ca3f8c1bac921027419c16700b39b04a96 100755 (executable)
@@ -93,11 +93,11 @@ runguest ()
 
                        sleep 1
                done
+
+               ${RUMPSTOP} ${cookie}
        fi
 
        echo ">> Result: ${TEST_RESULT} (${TEST_ECODE})"
-
-       ${RUMPSTOP} ${cookie}
 }
 
 getoutput ()