diff options
author | Raphael Hertzog <hertzog@debian.org> | 2007-07-15 10:55:09 +0000 |
---|---|---|
committer | Raphael Hertzog <hertzog@debian.org> | 2007-07-15 10:55:09 +0000 |
commit | 8af4fb045300584f7696302fa8d946adfa56651f (patch) | |
tree | 4cb54511b45a82a80487de7a1b8665210e2c6913 /scripts/t | |
parent | 9345d9bbc3493f67ae06664b6563ec5c5bee1075 (diff) | |
download | dpkg-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.t | 4 |
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' ); |