torture: Make kvm.sh "Test Summary" date be end of test
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 19 Nov 2020 23:23:04 +0000 (15:23 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 4 Jan 2021 22:01:20 +0000 (14:01 -0800)
commitcb212767346ceba58c8b7bfdbbf45339b86e09c0
tree1052161d1b4db09b138ead9ecf4d9ba28ef991cf
parent106cc0d9e79aa7fcb43bd8feab97ee6e114d348b
torture: Make kvm.sh "Test Summary" date be end of test

Currently, the "date" command producing the output on the kvm.sh "Test
Summary" line is executed at the beginning of the test, which produces a
date that is less than helpful to someone wanting to know the duration
of the test.  This commit therefore defers this command's execution to
the end of the test.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm.sh