Subject: | Tests fail with non-English locale |
t/09-sqlite_iterative_plugin.t and t/10-sqlite_serial_plugin.t fail, probably only if a non-English locale is effective. This is what I see with LC_ALL=de_DE.UTF-8:
# Failed test 'Invalid OS command'
# at /home/cpansand/.cpan/build/2016090409/ETLp-0.04-yl19pl/t/lib/ETLp/Test/IterativePlugin.pm line 498.
# (in ETLp::Test::IterativePlugin->os_test)
# 'Error processing /home/cpansand/.cpan/build/2016090409/ETLp-0.04-yl19pl/t/app_root/data/archive/customer1.csv.gz: Error running:
# ls customer1.csv.gz:
# ls: customer1.csv.gz: Datei oder Verzeichnis nicht gefunden
#
# 1'
# doesn't match '(?^s:customer1.csv.gz: No such file or directory)'
Redundant argument in sprintf at /home/cpansand/.cpan/build/2016090409/ETLp-0.04-yl19pl/blib/lib/ETLp/File/Read/CSV.pm line 98, <$fh> line 2.
Redundant argument in sprintf at /home/cpansand/.cpan/build/2016090409/ETLp-0.04-yl19pl/blib/lib/ETLp/File/Read/CSV.pm line 98, <$fh> line 2.
Redundant argument in sprintf at /home/cpansand/.cpan/build/2016090409/ETLp-0.04-yl19pl/blib/lib/ETLp/File/Read/CSV.pm line 98, <$fh> line 2.
# Looks like you failed 1 test of 22.
t/09-sqlite_iterative_plugin.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/22 subtests
(less 1 skipped subtest: 20 okay)
# Failed test 'Invalid OS command'
# at /home/cpansand/.cpan/build/2016090409/ETLp-0.04-yl19pl/t/lib/ETLp/Test/SerialPlugin.pm line 109.
# (in ETLp::Test::SerialPlugin->os)
# 'Error running:
# ls khjbvjfcghj:
#
# ls: khjbvjfcghj: Datei oder Verzeichnis nicht gefunden
# '
# doesn't match '(?^s:khjbvjfcghj: No such file or directory)'
# Failed test 'App Root Message Bad'
# at /home/cpansand/.cpan/build/2016090409/ETLp-0.04-yl19pl/t/lib/ETLp/Test/SerialPlugin.pm line 185.
# (in ETLp::Test::SerialPlugin->os_app_root)
# 'Error running:
# perl /home/cpansand/.cpan/build/2016090409/ETLp-0.04-yl19pl/t/app_root/bin/app_root_test_bad.pl:
#
# Can't open perl script "/home/cpansand/.cpan/build/2016090409/ETLp-0.04-yl19pl/t/app_root/bin/app_root_test_bad.pl": Datei oder Verzeichnis nicht gefunden
# '
# doesn't match '(?^m:No such file or directory)'
# Looks like you failed 2 tests of 19.
t/10-sqlite_serial_plugin.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/19 subtests