]> xenbits.xensource.com Git - people/liuw/rumprun.git/commitdiff
automatically use sudo for running the tests
authorAntti Kantee <pooka@iki.fi>
Thu, 23 Apr 2015 11:53:41 +0000 (11:53 +0000)
committerAntti Kantee <pooka@iki.fi>
Thu, 23 Apr 2015 11:53:41 +0000 (11:53 +0000)
tests/runtests.sh

index d3a965ca3f8c1bac921027419c16700b39b04a96..bda5c514ec75cc127a11fab5dd916edc4fc9712f 100755 (executable)
@@ -63,7 +63,7 @@ runguest ()
        # img2=$3
 
        [ -n "${img1}" ] || die runtest without a disk image
-       cookie=$(${RUMPRUN} ${STACK} -b ${img1} ${testprog})
+       cookie=$(${RUMPRUN} ${STACK} -S -b ${img1} ${testprog})
        if [ $? -ne 0 -o -z "${cookie}" ]; then
                TEST_RESULT=ERROR
                TEST_ECODE=-2