summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-01-02 16:18:25 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-01-02 16:18:25 +0000
commit648c944b62cdb647e78281e2dc5ac89c8dde56c4 (patch)
treeda92cc304bd8094b5da9fdabb35bac84fab5e8e3
parent94d69067402a846e4740cdfaa56a8df715065474 (diff)
downloadperl-RPM4-648c944b62cdb647e78281e2dc5ac89c8dde56c4.tar
perl-RPM4-648c944b62cdb647e78281e2dc5ac89c8dde56c4.tar.gz
perl-RPM4-648c944b62cdb647e78281e2dc5ac89c8dde56c4.tar.bz2
perl-RPM4-648c944b62cdb647e78281e2dc5ac89c8dde56c4.tar.xz
perl-RPM4-648c944b62cdb647e78281e2dc5ac89c8dde56c4.zip
reenable some tests:
- 4 of the 5 tests disabled by nanardon in r147 ("disable some test, it seems internal of rpm has changed") - and 2 of the 3 tests I disabled in r163 ("disable tests segfaulting in rpmSpecBuild()") git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@175 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/t/04spec.t14
1 files changed, 7 insertions, 7 deletions
diff --git a/RPM4/t/04spec.t b/RPM4/t/04spec.t
index 422ecda..74b9e21 100644
--- a/RPM4/t/04spec.t
+++ b/RPM4/t/04spec.t
@@ -1,7 +1,7 @@
# $Id$
use strict;
-use Test::More tests => 20;
+use Test::More tests => 26;
use FindBin qw($Bin);
use File::Temp qw(tempdir);
use RPM4;
@@ -45,14 +45,14 @@ my $h;
ok(defined($h = $spec->srcheader()), "Geting source header before build");
ok($h->queryformat("%{NAME}") eq "test-rpm", "can querying header give by spec");
-#ok($spec->build([ qw(PREP) ]) == 0, "simulate rpm -bp (check prep)");
-#ok($spec->build([ qw(BUILD) ]) == 0, "simulate rpm -bc");
-#ok($spec->build([ qw(INSTALL CHECK) ]) == 0, "simulate rpm -bi");
-#ok($spec->build([ qw(FILECHECK) ]) == 0, "simulate rpm -bl");
+ok($spec->build([ qw(PREP) ]) == 0, "simulate rpm -bp (check prep)");
+ok($spec->build([ qw(BUILD) ]) == 0, "simulate rpm -bc");
+ok($spec->build([ qw(INSTALL CHECK) ]) == 0, "simulate rpm -bi");
+ok($spec->build([ qw(FILECHECK) ]) == 0, "simulate rpm -bl");
#ok($spec->build([ qw(PACKAGEBINARY CLEAN) ]) == 0, "simulate rpm -bb (binary, clean)");
-#ok($spec->build([ qw(PACKAGESOURCE) ]) == 0, "simulate rpm -bs");
+ok($spec->build([ qw(PACKAGESOURCE) ]) == 0, "simulate rpm -bs");
#ok($spec->rpmbuild("bb") == 0, "testing spec->rpmbuild(-bb)");
-#ok($spec->build([ qw(RMBUILD RMSOURCE) ]) == 0, "simulate cleaning spec, source, build");
+ok($spec->build([ qw(RMBUILD RMSOURCE) ]) == 0, "simulate cleaning spec, source, build");
ok(defined($h = $spec->srcheader()), "Geting source header after build");
ok($h->queryformat("%{NAME}") eq "test-rpm", "can querying header give by spec");