[tip: core/rcu] torture: Make results-directory date format completion-friendly

From: tip-bot2 for Paul E. McKenney
Date: Tue Mar 24 2020 - 05:19:54 EST


The following commit has been merged into the core/rcu branch of tip:

Commit-ID: 90e23b6b81a9b374d2940cb0b33935d53664509e
Gitweb: https://git.kernel.org/tip/90e23b6b81a9b374d2940cb0b33935d53664509e
Author: Paul E. McKenney <paulmck@xxxxxxxxxx>
AuthorDate: Mon, 02 Dec 2019 13:24:07 -08:00
Committer: Paul E. McKenney <paulmck@xxxxxxxxxx>
CommitterDate: Thu, 20 Feb 2020 16:03:30 -08:00

torture: Make results-directory date format completion-friendly

The names of the per-test results directories are of the form
2019.11.29-20:42:19. This works, but the ":" characters make
tab-based shell name completion a bit onerous because the user must
remember to include a quote character somewhere before the first ":".
This commit therefore changes the ":" characters to periods, as in
2019.12.01-20.48.01", which allows tab-based completion to work more
naturally.

Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
---
tools/testing/selftests/rcutorture/bin/kvm.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh
index 78d18ab..2315e2e 100755
--- a/tools/testing/selftests/rcutorture/bin/kvm.sh
+++ b/tools/testing/selftests/rcutorture/bin/kvm.sh
@@ -39,7 +39,7 @@ TORTURE_TRUST_MAKE=""
resdir=""
configs=""
cpus=0
-ds=`date +%Y.%m.%d-%H:%M:%S`
+ds=`date +%Y.%m.%d-%H.%M.%S`
jitter="-1"

usage () {