tests: avoid spurious failure when running as root
commitd1a7148c7094f9d7bf188e90f072a01c7b5279ca
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 25 Jul 2012 10:40:10 +0000 (25 12:40 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 25 Jul 2012 10:40:10 +0000 (25 12:40 +0200)
treee666281dba084c144f7399136f207357cedce20a
parentfd2524171194ab00e7f7cad768bd6753a38ecab9
tests: avoid spurious failure when running as root

Fixes automake bug#12041.

* t/primary-prefix-couples-force-valid.sh: If run as root, don't expect
a "test -x" on a non-executable files to fail: for root, all files are
executable (as well as readable and writable), and at least on Solaris
10 that causes "test -x" to succeed also on non-executable files.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/primary-prefix-couples-force-valid.sh