summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-07-05 15:03:26 +0000
committerGreg Sabino Mullane2011-07-05 15:03:26 +0000
commit837a1ab8b24fc81fbde70f755d32020cd7333cf4 (patch)
treeda7d6dda948469ae09f022ea9c30c297d042b32b
parentd9c8a9b7928ea50e0b3e4022e7a8e0644cfb900e (diff)
Clean up all versions of test database dirs and their sockets.
-rw-r--r--Makefile.PL15
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index cbbfd32c9..72274ca58 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -36,6 +36,19 @@ If all else fails, email check_postgres\@bucardo.org for help.
}
+my @cleanfiles = (
+ 'test_database_check_postgres/',
+ 'test_database_check_postgres2/',
+ 'test_database_check_postgres3/',
+ 'test_database_check_postgres4/',
+ 'test_database_check_postgres5/',
+ '/tmp/cptesting_socket',
+ '/tmp/cptesting_socket2',
+ '/tmp/cptesting_socket3',
+ '/tmp/cptesting_socket4',
+ '/tmp/cptesting_socket5',
+);
+
print "Configuring check_postgres $VERSION\n";
my %opts = (
@@ -53,7 +66,7 @@ my %opts = (
MAN1PODS => {},
NEEDS_LINKING => 0,
NORECURS => 1,
- clean => { FILES => 'test_database_check_postgres/ test_database_check_postgres2/ /tmp/cptesting_socket' },
+ clean => { FILES => join ' ' => @cleanfiles },
);
WriteMakefile(%opts);