]> git.karo-electronics.de Git - linux-beck.git/commitdiff
torture: Rename RCU_INITRD to TORTURE_INITRD
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 26 Feb 2014 19:16:07 +0000 (11:16 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 May 2014 00:02:56 +0000 (17:02 -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-build.sh
tools/testing/selftests/rcutorture/bin/kvm.sh

index 197901ec10bff97e2e7f1d747ab0d64b4efc3ada..d8e68a5e44111dc111ceb9b6ae69bb0eb9aff14a 100755 (executable)
@@ -47,7 +47,7 @@ mkdir $T
 
 cat ${config_template} | grep -v CONFIG_RCU_TORTURE_TEST > $T/config
 cat << ___EOF___ >> $T/config
-CONFIG_INITRAMFS_SOURCE="$RCU_INITRD"
+CONFIG_INITRAMFS_SOURCE="$TORTURE_INITRD"
 CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_CONSOLE=y
 ___EOF___
index 740676255c6aca45b6ee6e8ff42e3ab1430b7323..a52a077ee258ccddff8939101d604fa1019826ad 100644 (file)
@@ -38,7 +38,7 @@ dur=30
 dryrun=""
 KVM="`pwd`/tools/testing/selftests/rcutorture"; export KVM
 PATH=${KVM}/bin:$PATH; export PATH
-RCU_INITRD="$KVM/initrd"; export RCU_INITRD
+TORTURE_INITRD="$KVM/initrd"; export TORTURE_INITRD
 RCU_KMAKE_ARG=""; export RCU_KMAKE_ARG
 TORTURE_SUITE=rcu
 resdir=""
@@ -125,7 +125,7 @@ do
                shift
                ;;
        --no-initrd)
-               RCU_INITRD=""; export RCU_INITRD
+               TORTURE_INITRD=""; export TORTURE_INITRD
                ;;
        --qemu-args)
                checkarg --qemu-args "-qemu args" $# "$2" '^-' '^error'
@@ -367,7 +367,7 @@ then
        echo KVPATH="$KVPATH; export KVPATH"
        echo PATH="$PATH; export PATH"
        echo RCU_BUILDONLY="$RCU_BUILDONLY; export RCU_BUILDONLY"
-       echo RCU_INITRD="$RCU_INITRD; export RCU_INITRD"
+       echo TORTURE_INITRD="$TORTURE_INITRD; export TORTURE_INITRD"
        echo RCU_KMAKE_ARG="$RCU_KMAKE_ARG; export RCU_KMAKE_ARG"
        echo RCU_QEMU_CMD="$RCU_QEMU_CMD; export RCU_QEMU_CMD"
        echo RCU_QEMU_INTERACTIVE="$RCU_QEMU_INTERACTIVE; export RCU_QEMU_INTERACTIVE"