Subject: Developers of Sympa
List archive
- From: IKEDA Soji <address@concealed>
- To: address@concealed
- Subject: [sympa-developpers] Failed unit tests
- Date: Thu, 3 Jul 2014 15:05:12 +0900
Guillaume and all,
I merged some unit tests from trunk into 6.2. But these two cases
fails. Do you know any reason?
* I have not modified tools::set_file_rights() and tools::mkdir_all().
Can your fixes correct it?
* I guess the case below in tools_time.t was written in winter
(it can cause difference by 3600 seconds). If it is not the case,
do you have any idea? (for example, my machine adjusts RTC to
UTC.)
------------ >8 ------------ >8 ------------ >8 ------------
t/tools_file.t .. 1/25 err tools::set_file_rights() User none can't be found
in passwd file
err tools::set_file_rights() Group none can't be found
err tools::set_file_rights() Group none can't be found
err tools::set_file_rights() User none can't be found in passwd file
Use of uninitialized value $mode in mkdir at src/lib/tools.pm line 654.
Use of uninitialized value $mode in mkdir at src/lib/tools.pm line 654.
# Failed test 'mkdir_all first element, no mode'
# at t/tools_file.t line 92.
# Looks like you failed 1 test of 25.
t/tools_file.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/25 subtests
------------ 8< ------------ 8< ------------ 8< ------------
------------ >8 ------------ >8 ------------ >8 ------------
t/tools_time.t .. 1/21
# Failed test 'date_conv ARRAY(0x39f5598)'
# at t/tools_time.t line 95.
# got: '1325368800'
# expected: '1325372400'
# Looks like you failed 1 test of 21.
t/tools_time.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/21 subtests
------------ 8< ------------ 8< ------------ 8< ------------
Regards,
--- Soji
--
株式会社 コンバージョン セキュリティ&OSSソリューション部 池田荘児
〒231-0004 神奈川県横浜市中区元浜町3-21-2 ヘリオス関内ビル7F
e-mail address@concealed TEL 045-640-3550
http://www.conversion.co.jp/
-
[sympa-developpers] Failed unit tests,
IKEDA Soji, 07/03/2014
- Re: [sympa-developpers] Failed unit tests, Guillaume Rousse, 07/03/2014
Archive powered by MHonArc 2.6.19+.