Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 964dab359ce87e4e6f17bfbce2ad702a > files > 1

perl-DB_File-Lock-0.50.0-12.mga9.src.rpm

diff -uNr DB_File-Lock-0.05/test.pl DB_File-Lock-0.05p/test.pl
--- DB_File-Lock-0.05/test.pl	2002-04-09 22:34:10.000000000 +0300
+++ DB_File-Lock-0.05p/test.pl	2015-08-15 18:52:34.514913547 +0300
@@ -81,7 +81,7 @@
 	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 %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 );