aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-02-10 22:59:05 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-02-23 12:04:42 -0500
commitb46f358ae5e3558a9072f0354128d5749a584d01 (patch)
tree790a51b7878ae4f2fd873a9d3fca8456fcd19e99
parent48a21d5cf05912ed3b2237f417a959a90fd6907d (diff)
rcutorture: Place kvm-test-1-run.sh output into res directory
The output of each kvm-test-1-run.sh script is placed into a file whose name parallels that of the build directory. This means that the kvm-test-1-run.sh output is overwritten by later run. This commit therefore places the kvm-test-1-run.sh output into the per-test-case directory in the "res" hierarchy. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
-rw-r--r--tools/testing/selftests/rcutorture/bin/kvm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh
index 8d3a6e916811..48b27e9716ae 100644
--- a/tools/testing/selftests/rcutorture/bin/kvm.sh
+++ b/tools/testing/selftests/rcutorture/bin/kvm.sh
@@ -318,7 +318,7 @@ function dump(first, pastlast)
318 print "touch " builddir ".wait"; 318 print "touch " builddir ".wait";
319 print "mkdir " builddir " > /dev/null 2>&1 || :"; 319 print "mkdir " builddir " > /dev/null 2>&1 || :";
320 print "mkdir " rd cfr[jn] " || :"; 320 print "mkdir " rd cfr[jn] " || :";
321 print "kvm-test-1-run.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" RCU_QEMU_ARG "\" \"" RCU_BOOTARGS "\" > " builddir ".out 2>&1 &" 321 print "kvm-test-1-run.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" RCU_QEMU_ARG "\" \"" RCU_BOOTARGS "\" > " rd cfr[jn] "/kvm-test-1-run.sh.out 2>&1 &"
322 print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date`" 322 print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date`"
323 print "while test -f " builddir ".wait" 323 print "while test -f " builddir ".wait"
324 print "do" 324 print "do"
@@ -337,7 +337,7 @@ function dump(first, pastlast)
337 for (j = 1; j < jn; j++) { 337 for (j = 1; j < jn; j++) {
338 builddir=KVM "/b" j 338 builddir=KVM "/b" j
339 print "echo ----", cfr[j], cpusr[j] ovf ": Build/run results:" 339 print "echo ----", cfr[j], cpusr[j] ovf ": Build/run results:"
340 print "cat " builddir ".out" 340 print "cat " rd cfr[j] "/kvm-test-1-run.sh.out"
341 } 341 }
342} 342}
343 343