]> git.karo-electronics.de Git - linux-beck.git/commitdiff
torture: Rename RCU_QEMU_ARG to TORTURE_QEMU_ARG
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 27 Feb 2014 00:42:46 +0000 (16:42 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 May 2014 16:45:49 +0000 (09:45 -0700)
This commit makes the torture scripts a bit more RCU-independent.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
tools/testing/selftests/rcutorture/bin/kvm.sh

index 886f97d287843db26444dad94336370f8d669dbc..ac06372b07556f5a30303d2c51be25fa2d13be18 100644 (file)
@@ -136,7 +136,7 @@ do
                ;;
        --qemu-args)
                checkarg --qemu-args "-qemu args" $# "$2" '^-' '^error'
-               RCU_QEMU_ARG="$2"
+               TORTURE_QEMU_ARG="$2"
                shift
                ;;
        --qemu-cmd)
@@ -274,7 +274,7 @@ awk < $T/cfgcpu.pack \
        -v ncpus=$cpus \
        -v rd=$resdir/$ds/ \
        -v dur=$dur \
-       -v RCU_QEMU_ARG=$RCU_QEMU_ARG \
+       -v TORTURE_QEMU_ARG=$TORTURE_QEMU_ARG \
        -v TORTURE_BOOTARGS=$TORTURE_BOOTARGS \
 'BEGIN {
        i = 0;
@@ -312,7 +312,7 @@ function dump(first, pastlast)
                print "touch " builddir ".wait";
                print "mkdir " builddir " > /dev/null 2>&1 || :";
                print "mkdir " rd cfr[jn] " || :";
-               print "kvm-test-1-run.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" RCU_QEMU_ARG "\" \"" TORTURE_BOOTARGS "\" > " rd cfr[jn]  "/kvm-test-1-run.sh.out 2>&1 &"
+               print "kvm-test-1-run.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" TORTURE_QEMU_ARG "\" \"" TORTURE_BOOTARGS "\" > " rd cfr[jn]  "/kvm-test-1-run.sh.out 2>&1 &"
                print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date`";
                print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date` >> " rd "/log";
                print "while test -f " builddir ".wait"