Tom Lane <t...@sss.pgh.pa.us> writes: > Also, I think we want > > -ok($initfile != $endfile, "$initfile differs from $endfile"); > +ok($initfile ne $endfile, "$initfile differs from $endfile"); > > The existing coding works as long as all characters of these > WAL segment names happen to be decimal digits, but ...
Even better style (IMO) would be: isnt($initfile, $endfile, "WAL file name has changed"); Or some other more descriptive message of _why_ it should have changed. - ilmari