You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my FreeBSD smokers (various versions, seen on 9, 12, 13, 14 and 15) oracle.t fails:
# Failed test 'client should use $ORACLE_HOME'
# at t/oracle.t line 164.
# got: 'sqlplus'
# expected: '/var/tmp/cpansmoker-1023/2023121608/yPv7q1gQQQ/sqlplus'
# Failed test 'client should use $ORACLE_HOME/bin'
# at t/oracle.t line 175.
# got: 'sqlplus'
# expected: '/var/tmp/cpansmoker-1023/2023121608/yPv7q1gQQQ/bin/sqlplus'
# Looks like you failed 2 tests of 132.
t/oracle.t ..........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/132 subtests
(less 1 skipped subtest: 129 okay)
I think the problem is wrong usage of chmod() in the test script. With truss the system call looks like this:
87184: 0.729083011 0.000026309 chmod("/tmp/Ca9o1AqBVT/sqlplus",01363) ERR#79 'Inappropriate file type or format'
The mode looks strange here. Actually it should be 0755. The wrong mode happens because strings are used instead of real octal numbers. This seems to fix it:
chmod LIST
... The first element of
the list must be the numeric mode, which should probably be an
octal number, and which definitely should not be a string of octal
digits: 0644 is okay, but "0644" is not ...
The text was updated successfully, but these errors were encountered:
On my FreeBSD smokers (various versions, seen on 9, 12, 13, 14 and 15) oracle.t fails:
I think the problem is wrong usage of
chmod()
in the test script. Withtruss
the system call looks like this:The mode looks strange here. Actually it should be 0755. The wrong mode happens because strings are used instead of real octal numbers. This seems to fix it:
See also the chmod documentation:
The text was updated successfully, but these errors were encountered: