summaryrefslogtreecommitdiff
path: root/scripts/t
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2010-02-18 23:57:01 +0100
committerRaphaël Hertzog <hertzog@debian.org>2010-02-20 22:28:18 +0100
commit6c8369aee32b5c99f45e60f62e6e07d26b2b42b8 (patch)
tree1df7f73c01b546f76a0b17249d163162a8fb0ca1 /scripts/t
parent9e7dfecce74f4d58de5be46b387b899489869876 (diff)
downloaddpkg-6c8369aee32b5c99f45e60f62e6e07d26b2b42b8.tar.gz
Update Dpkg::Control::* to use Dpkg::Interface::Storable
This implies renaming parse_fh() into parse() and parse() into load(). Update all scripts and modules using those methods.
Diffstat (limited to 'scripts/t')
-rw-r--r--scripts/t/700_Dpkg_Control.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/t/700_Dpkg_Control.t b/scripts/t/700_Dpkg_Control.t
index 73c31c05d..269de5d84 100644
--- a/scripts/t/700_Dpkg_Control.t
+++ b/scripts/t/700_Dpkg_Control.t
@@ -27,7 +27,7 @@ my $datadir = $srcdir . '/t/700_Dpkg_Control';
my $c = Dpkg::Control::Info->new("$datadir/control-1");
my $io = IO::String->new();
-$c->dump($io);
+$c->output($io);
my $value = ${$io->string_ref()};
my $expected = 'Source: mysource
My-Field-One: myvalue1