diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-01-15 07:48:35 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-01-15 07:48:35 +0000 |
commit | 31d8f17a882de336a47b5b5a43b109a0e6bcb97e (patch) | |
tree | d56a191cde76ad14f4f5fbaea2d51b30cba85336 /t/parse.t | |
parent | 612e0ca300d0e5046a5213309371da6c1ab7548e (diff) | |
download | perl-URPM-31d8f17a882de336a47b5b5a43b109a0e6bcb97e.tar perl-URPM-31d8f17a882de336a47b5b5a43b109a0e6bcb97e.tar.gz perl-URPM-31d8f17a882de336a47b5b5a43b109a0e6bcb97e.tar.bz2 perl-URPM-31d8f17a882de336a47b5b5a43b109a0e6bcb97e.tar.xz perl-URPM-31d8f17a882de336a47b5b5a43b109a0e6bcb97e.zip |
move test-rpm.spec into t/
Diffstat (limited to 't/parse.t')
-rw-r--r-- | t/parse.t | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,6 +33,7 @@ TODO: { q/get headers from parsing rpm/); } +mkdir 't/headers'; system('touch t/headers/empty'); is(URPM->new->parse_hdlist('t/headers/empty'), undef, 'empty header'); system('echo FOO > t/headers/bad'); @@ -100,7 +101,7 @@ ok(URPM::rpmvercmp("1:1-1mdk", "2:1-1mdk") == -1, "epoch 1 vs 2 = -1"); } { - my $pkg = URPM::spec2srcheader("test-rpm.spec"); + my $pkg = URPM::spec2srcheader("t/test-rpm.spec"); ok(defined $pkg, "Parsing a spec works"); is($pkg->get_tag(1000), 'test-rpm', 'parsed correctly'); $pkg = URPM::spec2srcheader("doesnotexist.spec"); |