summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rcutorture/bin/kvm-again.sh
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-07-08 15:35:42 -0700
committerPaul E. McKenney <paulmck@kernel.org>2021-07-27 11:41:33 -0700
commit9e528a84c9f23154e74ed8c8cff128b643da5867 (patch)
tree94f5dc97772cc5520df95205741745d4cf93e7cd /tools/testing/selftests/rcutorture/bin/kvm-again.sh
parent4567c76a8e45af6b5015b17ea1d1a62af1257cc4 (diff)
torture: Consistently name "qemu*" test output files
There is "qemu-affinity", "qemu-cmd", "qemu-retval", but also "qemu_pid". This is hard to remember, not so good for bash tab completion, and just plain inconsistent. This commit therefore renames the "qemu_pid" file to "qemu-pid". A couple of the scripts must deal with old runs, and thus must handle both "qemu_pid" and "qemu-pid", but new runs will produce "qemu-pid". Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/kvm-again.sh')
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/kvm-again.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-again.sh b/tools/testing/selftests/rcutorture/bin/kvm-again.sh
index d8c8483c46f1..b7b8d6856d7e 100755
--- a/tools/testing/selftests/rcutorture/bin/kvm-again.sh
+++ b/tools/testing/selftests/rcutorture/bin/kvm-again.sh
@@ -142,7 +142,7 @@ then
echo "Cannot copy from $oldrun to $rundir."
usage
fi
-rm -f "$rundir"/*/{console.log,console.log.diags,qemu_pid,qemu-retval,Warnings,kvm-test-1-run.sh.out,kvm-test-1-run-qemu.sh.out,vmlinux} "$rundir"/log
+rm -f "$rundir"/*/{console.log,console.log.diags,qemu_pid,qemu-pid,qemu-retval,Warnings,kvm-test-1-run.sh.out,kvm-test-1-run-qemu.sh.out,vmlinux} "$rundir"/log
touch "$rundir/log"
echo $scriptname $args | tee -a "$rundir/log"
echo $oldrun > "$rundir/re-run"