Clean up dest dir in CFC test 501-include_dir.t
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/32713e56 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/32713e56 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/32713e56 Branch: refs/heads/master Commit: 32713e56c61a64bbac65f269f013fccf138b45c0 Parents: 5eaa9c2 Author: Nick Wellnhofer <[email protected]> Authored: Thu Jan 31 22:27:34 2013 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Sun Feb 3 22:06:00 2013 +0100 ---------------------------------------------------------------------- clownfish/compiler/perl/t/501-include_dir.t | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/32713e56/clownfish/compiler/perl/t/501-include_dir.t ---------------------------------------------------------------------- diff --git a/clownfish/compiler/perl/t/501-include_dir.t b/clownfish/compiler/perl/t/501-include_dir.t index 2d1d002..6f055b3 100644 --- a/clownfish/compiler/perl/t/501-include_dir.t +++ b/clownfish/compiler/perl/t/501-include_dir.t @@ -22,7 +22,7 @@ use Clownfish::CFC::Model::Hierarchy; use Clownfish::CFC::Util qw( a_isa_b ); use File::Spec::Functions qw( catfile splitpath ); use Fcntl; -use File::Path qw( rmtree mkpath ); +use File::Path qw( rmtree ); my $source = 't/cfsource'; my $ext = 't/cfext'; @@ -152,3 +152,6 @@ my $file_clash = 't/cfclash/file'; Clownfish::CFC::Model::Class->_clear_registry(); } +# Clean up. +rmtree($dest); +
