rcutorture/kvm-recheck-*: Improve result directory readability check

The kvm-recheck-(lock|rcu|rcuperf).sh scripts check whether the
user-specified results directory exists.  If not, it prints out error
message that says the specified directory is unreadable.  To make the
message more precise, this commit adds a readability check.

Fixes: 2193e1604e ("rcutorture: Abstract kvm-recheck.sh")

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
SeongJae Park 2017-11-03 19:17:25 +09:00 committed by Paul E. McKenney
parent 512e3bd0b5
commit 81394e3f6d
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
i="$1" i="$1"
if test -d $i if test -d "$i" -a -r "$i"
then then
: :
else else

View File

@ -23,7 +23,7 @@
# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
i="$1" i="$1"
if test -d $i if test -d "$i" -a -r "$i"
then then
: :
else else

View File

@ -23,7 +23,7 @@
# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
i="$1" i="$1"
if test -d $i if test -d "$i" -a -r "$i"
then then
: :
else else