preaction / Statocles

Static website CMS
http://preaction.me/statocles
Other
84 stars 33 forks source link

[cpantesters] Document test fails with doubled path #473

Closed preaction closed 8 years ago

preaction commented 8 years ago

http://www.cpantesters.org/cpan/report/93cd4124-de96-11e5-b826-47cb864cb8f0 http://www.cpantesters.org/cpan/report/9062a178-de96-11e5-bbc7-06cb864cb8f0 http://www.cpantesters.org/cpan/report/48dc0ca4-de96-11e5-aff5-d9bd864cb8f0 ... and more

The failing test is:

Error open (<:unix) on '/tmp/lIWm7h8mCp/[regex](name).dir/tmp/lIWm7h8mCp/[regex](name).dir/date.markdown': No such file or directory at /tmp/loop_over_bdir-6958-8XtqFi/Statocles-0.071-78Tk_7/blib/lib/Statocles/Store.pm line 166.
    # Child (path that has regex-special characters inside) exited without calling finalize()

#   Failed test 'path that has regex-special characters inside'
#   at /home/sand/src/perl/repoperls/installed-perls/perl/v5.22.0/f991/lib/5.22.0/Test/Builder.pm line 279.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 4.
t/store/document.t ............ 
Dubious, test returned 2 (wstat 512, 0x200)

It looks like the dirs are repeated in the path, which is really weird.

Looks like it's a change in Path::Tiny 0.081 (currently in -TRIAL) causing this problem.

preaction commented 8 years ago

This was fixed by 46c6a7c77f2790bb0524b23012d296e319eb0059