[master] use test -r in system tests

3806.	[test]		Improved system test portability. [RT #35625]
This commit is contained in:
Evan Hunt
2014-04-09 20:29:52 -07:00
parent ab272d2204
commit 92fe6db3e4
31 changed files with 32 additions and 30 deletions

View File

@@ -37,7 +37,7 @@ for NM in '' -2 -given -disabled -passthru -no-op -nodata -nxdomain -cname -wild
done
# sign the root and a zone in ns2
test -e $RANDFILE || $GENRANDOM 400 $RANDFILE
test -r $RANDFILE || $GENRANDOM 400 $RANDFILE
# $1=directory, $2=domain name, $3=input zone file, $4=output file
signzone () {