Subject: | Fails tests on Solaris 10 using gcc 3.4.2 |
I'm using gcc 3.4.2 to build Crypt::Password on Solaris 10 with Perl
5.14.2 and receiving the test errors shown below. I noticed that all
Solaris (10 or 11) compiles (and several other OS builds and versions of
Perl) have this problem, but on other systems this test is reporting
success instead of fail. Is there a problem with the test?
========
18: /CSC/3rd_party/perl/bin/perl Makefile.PL
Writing Makefile for Crypt::Password
Writing MYMETA.yml and MYMETA.json
19: make
cp lib/Crypt/Password.pm blib/lib/Crypt/Password.pm
Manifying blib/man3/Crypt::Password.3
20: make test
PERL_DL_NONLAZY=1 /CSC/3rd_party/perl/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01-crypt-password.t .. Name "Crypt::Password::TESTMODE" used only
once: possible typo at t/01-crypt-password.t line 9.
Reformatting page. Please Wait... done
t/01-crypt-password.t .. 1/? # testing Crypt::Password
(crypt_flav='glib')
# os is 'solaris'
Reformatting page. Please Wait... done
# bottom line of man crypt: ' '
# generate salt
# hello $5$G7UCXR3l =
$5$G7UCXR3l$JaVg5astlnodDI9tkD8OjahQezXSkcxaIwNkVpxY2H3
# hello $5$n6.7JGoa =
$5$n6.7JGoa$JlzMDn1UCOr5VxOLCjONcUI3DG5ujNmr.QiFt04Ya4C
# hello $5$lkxNG22T =
$5$lkxNG22T$TArWJnSpwYakExn..R4tmTDUTpc5CtCoGEmoFTn9vO/
# hello $5$WDz7OIVt =
$5$WDz7OIVt$ypJMETI8sAvyuGJw4OAIt2OT2EMZrhPy1skc0CU3Mk.
# hello $5$lWbMOMBx =
$5$lWbMOMBx$qMtjZmeRA3BtGW1EHLXK7AA.TtwmtVw/srgzumUWPu4
# hello $5$6iKuok6E =
$5$6iKuok6E$kpcnffSTmJ0gmHU5N3J8JDNI4LNFHLEuHkyCS04Vis9
# hello $5$5Iyibqhe =
$5$5Iyibqhe$ZMeV5h9XijKLA7FBRMZEyvR6Gv/4WzTd/cZyswDLSD4
# hello $5$uBDhKNFE =
$5$uBDhKNFE$N1cG0p2i4auQEM946eZhx7sRFC3ntA84S0HoLjJu2qB
# hello $5$TUHB/IS5 =
$5$TUHB/IS5$YILmIqfZ8oIS4Xb7kHBgqpJKHHGcG9p4yUiItWvWeD7
# hello $5$0wnrgRff =
$5$0wnrgRff$.wNxI0p5MA0aI1IiDemm/7JsyCiIjD3y48pRayos.c5
# hello $5$DhuB1RqG =
$5$DhuB1RqG$1e77ujE9QvQI49Ud5qZV/sLj6lVXVwrbWsISozpPdy/
# hello $5$tJF7Fsyd =
$5$tJF7Fsyd$8ZCAH8KiDhZCt0QlZO6zgvsu/6Er0c7.cy5T3gLkkl5
# hello $5$WdMnGlC5 =
$5$WdMnGlC5$wZappJHbQei7L.zChvogeHiAZ1aZu4IilM2Fna9JEJ/
# hello $5$ZeOMlUCj =
$5$ZeOMlUCj$.536DnBPVPtv42k/Zl7ai4Tt5bn3XwCTrFIqg.tJF54
# hello $5$.0//jzIb =
$5$.0//jzIb$WTtwGOEhrPGzXDyD5PP3kCGcPV3FyxoZxQvjJmsPbk4
# hello $5$0tmko8dG =
$5$0tmko8dG$v/eKzVkb9FzwLkWpTmG/lFvbM7Og.ngElok9MK4La56
# hello $5$7sFy1EN2 =
$5$7sFy1EN2$Nmdp7m54wAPTzCOrf9ciUOGzHsZRaHrFEZ.CYKF4MC9
# hello $5$5AQidKke =
$5$5AQidKke$bEK4tcPdpR.O.ug2XQluoV4aSbA8jiKydgrUAb5tukD
# hello $5$8iVPvtTO =
$5$8iVPvtTO$xr4rFeaGise2lA/XUowumCLMDSnOtYTrclerTSJSpB4
t/01-crypt-password.t .. 3/? # hello $5$3zHbPvd. =
$5$3zHbPvd.$8cbAXGWyHmy7Bl4OQSlQqCsuGapx8z5hKB4OnbpMn49
# random salts
# hello $5$L2398M8S =
$5$L2398M8S$PeZ7SiwVSqAaMBZdCc0fcoklrwmZNnz0BjcqnKCKYH2
# hello $5$3sXAfpHP =
$5$3sXAfpHP$rLyYL4N2jusDMOOZF6UJY4hlDJ3ncPPvgjpsv89A1P9
# set salts
# hello $5$1234abcd =
$5$1234abcd$yKSnT4/0uwM571MsP9//D.gicpVa3j7IxBKBMldFZd.
# hello $5$1234abcd =
$5$1234abcd$yKSnT4/0uwM571MsP9//D.gicpVa3j7IxBKBMldFZd.
# pass crypted as salt
# etcetc $5$XwNbef4a =
$5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1
# etcetc $5$Os2MuInl =
$5$Os2MuInl$R0CZ6r7jCgFv009Ny2cduGcMf4XJ0GCJZ1INR.Xnib.
# etcetc $5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1 =
$5$XwNbef4a$qhkcv37$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1
# Failed test 'hash passed as salt, regenerates the same hash'
# at t/01-crypt-password.t line 126.
# got:
'$5$XwNbef4a$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1'
# expected:
'$5$XwNbef4a$qhkcv37$qhkcv37QXc1fFagTf3suxSk45OZOTtsvfYHnz9YwBT1'
# cant just pass crypted stuff into check_password
# etcetc $5$blahblah =
$5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2
# $5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2
$5$blahblah$fc.omQdPgJ14eGsFcBShS9moNvYbNEns1M/K/2s9NB2 =
$5$blahblah$fc.omQd$hqxFuLMiy5Abu3l1tOsMRAvmCv90mBMKW.ZiA1UulyD
# modular special
# hello0 $5$7.RWvGSl =
$5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B
# hello0 $5$Egwiays5 =
$5$Egwiays5$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA
# hello0 $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B =
$5$7.RWvGSl$Oa7lOt3$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B
# Failed test 'check passed'
# at t/01-crypt-password.t line 97.
# hello0 $5$Egwiays5$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA =
$5$Egwiays5$V.fQOfA$V.fQOfAOUZQhrKbK8pcaRgDh39OJUxOLZFjDCDdR2yA
# Failed test 'check passed'
# at t/01-crypt-password.t line 98.
# helu $5$7.RWvGSl$Oa7lOt3wMaGmfzr6rn3H6FFkZukn/AgPAMJaTsUrt6B =
$5$7.RWvGSl$Oa7lOt3$d.eDC5YqB2idrhPM1jNGELp1Oa25.7RJGjfQTsrkED8
# modular special argumentative
# password $5$salt = $5$salt$Gcm6FsVtF/Qa77ZKD.iwsJlCVPY0XSMgLJL0Hnww/c1
# password $1$ = $1$$I2o9Z7NcvQAKp7wyCTlia0
# password $6$/rLPbeWV =
$6$/rLPbeWV$YzXgGunbe8SAK6lAGM9Ecz/kDBp1sr0fzQ6RkiURVYqB9F3KlUKhgB53llVx
RU3LqbWpZam/7zI7.akGAiqcl.
# modular special embodiment
# $5$%RK2BU%L$aFZd1/4Gpko/sJZ8Oh.ZHg9UvxCjkH1YYoLZI6tw7K8 $5$OqhIFVPd =
$5$OqhIFVPd$XsfKTfZ98XYNje0WvfeWjACdlCP7dF7R7VJ4PH2LMx9
# experimenting in extended with freesec...
# extended special
# 007 _blahblah = $_b$zqZtvoP.TMI
# '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts
# 007 _blahblah = $_b$zqZtvoP.TMI
# '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts
# 007 _blahblah = $_b$zqZtvoP.TMI
# '$_b$zqZtvoP.TMI' eq '$_blahblah$2ZtvPvnOO/w' FAIL crypts
# 007 _BLAHblah = $_B$HwN6C6VZGoI
# '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with
different salt
# 007 _BLAHblah = $_B$HwN6C6VZGoI
# '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with
different salt
# 007 _BLAHblah = $_B$HwN6C6VZGoI
# '$_B$HwN6C6VZGoI' eq '$_BLAHblah$Y8YHRJXwFLE' FAIL crypts with
different salt
# 123 _12341234 = $_1$f2NoTU7bAAQ
# '$_1$f2NoTU7bAAQ' eq '$_12341234$zPVAQUxtWss' FAIL salt can start with
_
# 123 _12341234 = $_1$f2NoTU7bAAQ
# '$_1$f2NoTU7bAAQ' eq '$_12341234$zPVAQUxtWss' FAIL salt can start with
_
# a cc = $cc$IxmriBVsviU
# a cc = $cc$IxmriBVsviU
# a cc = $cc$IxmriBVsviU
# hello0 _DADAdada = $_D$i9zFpRrcF/c
# ok FAIL check_password
# hello1 _DADAdada = $_D$eYEW/pSsykY
# hello0 _zzzzzzzz = $_z$UEwGGpBwi6g
# remake some known crypts
# ambiente _12345555 = $_1$n4lOMa1oImE
# '$_1$n4lOMa1oImE' eq '$_12345555$V4oENXvTMYk' FAIL test ambiente
salt=8
# ambiente gi = $gi$CZewZaJV4pk
# lampshade _12345555 = $_1$ji7IGBPetkw
# '$_1$ji7IGBPetkw' eq '$_12345555$JacsOKd1xTo' FAIL test lampshade
salt=8
# lampshade gi = $gi$zi7R25ah3Zw
# guitar _12345555 = $_1$OTPuu27USFQ
# '$_1$OTPuu27USFQ' eq '$_12345555$2yFp.wqJEF.' FAIL test guitar salt=8
# guitar gi = $gi$4tl8fx6Anh.
# various salt inputs
# a _bbbbbbbb = $_b$tA1XKx5mNoc
# '$_b$tA1XKx5mNoc' eq '$_bbbbbbbb$DJEHexiq9NI' FAIL salt=8 crypt
# Looks like you failed 3 tests of 19.
t/01-crypt-password.t .. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/19 subtests
t/90-pod-syntax.t ...... skipped: set TEST_POD or TEST_ALL to enable
this test
t/92-license.t ......... skipped: set TEST_LICENSE or TEST_ALL to enable
this test
t/93-perltidy.t ........ skipped: set TEST_TIDY or TEST_ALL to enable
this test
Test Summary Report
-------------------
t/01-crypt-password.t (Wstat: 768 Tests: 19 Failed: 3)
Failed tests: 7, 12-13
Non-zero exit status: 3
Files=4, Tests=19, 3 wallclock secs ( 0.18 usr 0.12 sys + 1.62 cusr
0.28 csys = 2.20 CPU)
Result: FAIL
Failed 1/4 test programs. 3/19 subtests failed.
make: *** [test_dynamic] Error 255