remove rm external system command call #67
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Template failed test process_dir.t because external "rm -rf" call is
made in that file. That command doesn't exist on Win32 system. It is
possible to use remove_tree from File::Path. There is also a condition
with expected2 that need some adjustment.
Below error message from test:
'rm' is not recognized as an internal or external command,
operable program or batch file.
Failed test 'Error on PROCESSing directory'
at t/process_dir.t line 63.
got: 'file error - testdir: not a file'
expected: 'file error - ./testdir: not a file'
'rm' is not recognized as an internal or external command,
operable program or batch file.
Looks like you failed 1 test of 5.
t/process_dir.t .......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
I hope you will agree my pull request. Thanks for that great module.