Use 'test -f', not 'test -x'
Spider Boardman [Sat, 8 Mar 1997 00:53:00 +0000 (19:53 -0500)]
Subject: 3_92 get "test: argument expected" during Configure

This is a bug report for perl from spider@web.zk3.dec.com,
generated with the help of perlbug 1.16 running under perl 5.00392.

p5p-msgid: 199703080053.TAA13943@web.zk3.dec.com

Configure

index 5392c79..5eacc6c 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -3899,7 +3899,7 @@ case "$nm_opt" in
                nm_opt='-p'     # Solaris (and SunOS?)
        elif $test -f /dgux; then
                nm_opt='-p'     # DG-UX
-       elif $test -x /lib64/rld; then
+       elif $test -f /lib64/rld; then
                nm_opt='-p'     # 64-bit Irix
        else
                nm_opt=''