[v9_9] use test -r in system tests

3806.	[test]		Improved system test portability. [RT #35625]

(cherry picked from commit 922959581bbdd70d5c9cae1cb107974c3d38ed08)
This commit is contained in:
Evan Hunt
2014-04-09 20:30:17 -07:00
parent 36ba7ca649
commit 8b5a1caae7
27 changed files with 29 additions and 27 deletions

View File

@@ -21,6 +21,6 @@ sed 's/SERVER_CONFIG_PLACEHOLDER/server-names { "ns.example.net"; };/' ns2/named
sed 's/EXAMPLE_ZONE_PLACEHOLDER/zone "example" { type master; file "example.db.signed"; };/' ns3/named.conf.in > ns3/named.conf
test -e $RANDFILE || $GENRANDOM 400 $RANDFILE
test -r $RANDFILE || $GENRANDOM 400 $RANDFILE
cd ns3 && sh -e sign.sh