]> xenbits.xensource.com Git - people/liuw/rumprun.git/commitdiff
Fix $OPT_SUDO to be '-S' instead of 'sudo'
authorAntti Kantee <pooka@iki.fi>
Fri, 24 Apr 2015 06:34:25 +0000 (06:34 +0000)
committerAntti Kantee <pooka@iki.fi>
Fri, 24 Apr 2015 06:34:25 +0000 (06:34 +0000)
Maybe Xen tests will now finally work on buildbot ...

tests/runtests.sh

index ea6d4a2f2da84b315523b03416fd4a05ab06751e..cfbb0744820598731c81bc2a998994864f0e2797 100755 (executable)
@@ -127,7 +127,7 @@ RUMPSTOP=$(pwd)/../app-tools/rumpstop
 
 if [ "$1" = '-S' ]; then
        shift
-       [ $(id -u) -ne 0 ] && OPT_SUDO=sudo
+       [ $(id -u) -ne 0 ] && OPT_SUDO=-S
 fi
 
 STACK=$1