summaryrefslogtreecommitdiff
path: root/scripts/t
diff options
context:
space:
mode:
authorRaphael Hertzog <hertzog@debian.org>2007-07-15 10:55:09 +0000
committerRaphael Hertzog <hertzog@debian.org>2007-07-15 10:55:09 +0000
commit8af4fb045300584f7696302fa8d946adfa56651f (patch)
tree4cb54511b45a82a80487de7a1b8665210e2c6913 /scripts/t
parent9345d9bbc3493f67ae06664b6563ec5c5bee1075 (diff)
downloaddpkg-8af4fb045300584f7696302fa8d946adfa56651f.tar.gz
* Define $foo->has_lost_symbols($ref) as $ref->has_new_symbols($foo).
* Same for has_lost_libs. * Fixed improper usage of File::Temp object in a non-regression test.
Diffstat (limited to 'scripts/t')
-rw-r--r--scripts/t/200_Dpkg_Shlibs.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/t/200_Dpkg_Shlibs.t b/scripts/t/200_Dpkg_Shlibs.t
index 9db3a4ef3..9d1d17d0c 100644
--- a/scripts/t/200_Dpkg_Shlibs.t
+++ b/scripts/t/200_Dpkg_Shlibs.t
@@ -78,9 +78,9 @@ use File::Temp;
my $save_file = new File::Temp;
-$sym_file->save($save_file);
+$sym_file->save($save_file->filename);
-$sym_file_dup->load($save_file);
+$sym_file_dup->load($save_file->filename);
$sym_file_dup->{file} = "t/200_Dpkg_Shlibs/symbol_file.tmp";
is_deeply($sym_file_dup, $sym_file, 'save -> load' );