dgholz / App-Rssfilter

Download RSS feeds and apply rules to the items
1 stars 0 forks source link

'Missing feed' test fails on windows #1

Closed dgholz closed 11 years ago

dgholz commented 11 years ago

http://www.cpantesters.org/cpan/report/85030b15-6bff-1014-a898-5d2ac7768a8d

C:\strawberry5162\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/app/rssfilter/*.t t/app/rssfilter/feed/*.t t/app/rssfilter/filter/*.t t/app/rssfilter/group/*.t t/app/rssfilter/match/*.t

        #   Failed test 'last_modified returns the epoch when its underlying file is not available'
        #   at t/lib/App/Rssfilter/Feed/Storage/Test/FetchersBehaveSensibleWhenUnderlyingFileNotPresent.pm line 19.
        #          got: 'Sat, 04 May 2013 17:01:21 GMT'
        #     expected: 'Thu, 01 Jan 1970 00:00:00 GMT'

        #   Failed test 'load_existing returns an empty Mojo::DOM instance when the underlying file is not available'
        #   at t/lib/App/Rssfilter/Feed/Storage/Test/FetchersBehaveSensibleWhenUnderlyingFileNotPresent.pm line 25.
        #          got: '<well>I guess this is it</well>'
        #     expected: ''
cannot unlink file for C:\DOCUME~1\c\LOCALS~1\Temp\B_4Y8qG_cR\9fHPENmHWi.rss: Permission denied at t/lib/App/Rssfilter/Feed/Storage/Test/FetchersBehaveSensibleWhenUnderlyingFileNotPresent.pm line 31.
cannot remove directory for C:\DOCUME~1\c\LOCALS~1\Temp\B_4Y8qG_cR: Directory not empty at t/lib/App/Rssfilter/Feed/Storage/Test/FetchersBehaveSensibleWhenUnderlyingFileNotPresent.pm line 31.
        # Looks like you failed 2 tests of 3.

    #   Failed test 'fetchers_behave_sensible_when_underlying_file_not_present'
    #   at C:\strawberry5162\cpan\build\Test-Routine-0.015-riJqDn/blib/lib/Test/Routine/Common.pm line 17.
    # Looks like you failed 1 test of 7.

#   Failed test 'load_existing, save_feed, & last_modified'
#   at C:\strawberry5162\cpan\build\Test-Routine-0.015-riJqDn/blib/lib/Test/Routine/Runner.pm line 98.
# Looks like you failed 1 test of 1.```
dgholz commented 11 years ago

Probably an open filehandle preventing the file deletion