forked from lix-project/hydra
tests: delete set-up.pl / tear-down.pl
We'll set these up on a per-test basis.
This commit is contained in:
parent
9ddc6e355f
commit
b15d8edab1
|
@ -25,9 +25,7 @@ EXTRA_DIST = \
|
|||
$(TESTS)
|
||||
|
||||
TESTS = \
|
||||
set-up.pl \
|
||||
test.pl \
|
||||
tear-down.pl
|
||||
test.pl
|
||||
|
||||
check_SCRIPTS = repos
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
use strict;
|
||||
system("initdb -D postgres --locale C.UTF-8 ") == 0 or die;
|
||||
system("pg_ctl -D postgres -o \"-F -p 6433 -h '' -k /tmp \" -w start") == 0 or die;
|
||||
system("createdb -l C.UTF-8 -p 6433 hydra-test-suite") == 0 or die;
|
||||
system("hydra-init") == 0 or die;
|
|
@ -1,12 +0,0 @@
|
|||
use strict;
|
||||
|
||||
my $fail = 0;
|
||||
|
||||
system("dropdb -p 6433 hydra-test-suite") == 0 or $fail = 1;
|
||||
system("pg_ctl -D postgres -w stop") == 0 or $fail = 1;
|
||||
|
||||
system("chmod -R a+w nix") == 0 or $fail = 1;
|
||||
system("rm -rf postgres data nix git-repo hg-repo svn-repo svn-checkout svn-checkout-repo bzr-repo bzr-checkout-repo darcs-repo") == 0 or $fail = 1;
|
||||
system("rm -f .*-state") == 0 or $fail = 1;
|
||||
|
||||
exit $fail;
|
Loading…
Reference in a new issue