torture: Protect kvm-remote.sh directory trees from /tmp reaping
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 18 Jun 2021 00:09:39 +0000 (17:09 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 20 Jul 2021 20:45:50 +0000 (13:45 -0700)
commit5a2898f183245f72b8b4163e5bce4247e47ff7c5
tree26f7df7a3969f42921ed4c49ae4546b098fed397
parent442f99afbea1ce7d3c2cf1dc714962eea71fd7ae
torture: Protect kvm-remote.sh directory trees from /tmp reaping

The kvm-remote.sh script places the datestamped directory containing
all the build artifacts in the destination systems' /tmp directories,
where they accumulate runtime artifacts such as console.log.  This works,
but some systems have a habit of removing files in /tmp that have not
been recently accessed.  This commit therefore runs a simple script that
periodically accesses all files in the datestamped directory.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-remote-noreap.sh [new file with mode: 0755]
tools/testing/selftests/rcutorture/bin/kvm-remote.sh