diff options
author | Timothy Legge <timlegge@gmail.com> | 2020-02-25 23:44:09 +0000 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2020-02-27 00:03:24 +0000 |
commit | 99201cc97b3c2d91b07fe00d1a4726378730d8ab (patch) | |
tree | 9079cd4e3e0884b51ca9e852e66d27960e669d81 /community/perl-db_file-lock/fix-bug-98224-test-fails.patch | |
parent | 9956904271eacfb9e69da6421763b04bff8d2502 (diff) | |
download | aports-99201cc97b3c2d91b07fe00d1a4726378730d8ab.tar.bz2 aports-99201cc97b3c2d91b07fe00d1a4726378730d8ab.tar.xz |
community/perl-db_file-lock: move from testing
Diffstat (limited to 'community/perl-db_file-lock/fix-bug-98224-test-fails.patch')
-rw-r--r-- | community/perl-db_file-lock/fix-bug-98224-test-fails.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/community/perl-db_file-lock/fix-bug-98224-test-fails.patch b/community/perl-db_file-lock/fix-bug-98224-test-fails.patch new file mode 100644 index 0000000000..40a9adf9b2 --- /dev/null +++ b/community/perl-db_file-lock/fix-bug-98224-test-fails.patch @@ -0,0 +1,16 @@ +diff --git a/test.pl b/test.pl +old mode 100644 +new mode 100755 +index 92ebcf6..cba6da6 +--- a/test.pl ++++ b/test.pl +@@ -81,7 +81,7 @@ if ( not defined $pid ) { + sleep(1); + $TEST_NUM += 2; + report_result( not tie %hash3, 'DB_File::Lock', $file1, O_RDWR, 0600, $DB_HASH, $nonblock_write ); +- report_result( not defined %hash3 ); # double check and satisfy -w about %hash3 ++ report_result( not keys %hash3 ); # double check and satisfy -w about %hash3 + $TEST_NUM += 1; + report_result( wait() == $pid ); + report_result( tie %hash3, 'DB_File::Lock', $file1, O_RDWR, 0600, $DB_HASH, $nonblock_write ); +-- |