Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81394e3f authored by SeongJae Park's avatar SeongJae Park Committed by Paul E. McKenney
Browse files

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: 2193e160 ("rcutorture: Abstract kvm-recheck.sh")

Signed-off-by: default avatarSeongJae Park <sj38.park@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 512e3bd0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

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

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

i="$1"
if test -d $i
if test -d "$i" -a -r "$i"
then
	:
else