Skip to content

Commit a600ee9

Browse files
committed
tests: Use the right Perl operator
We were using != to compare strings, for which "ne" is the right thing. It's not clear why it works everywhere except on Pavan's machine, but it's clearly bogus anyway. Author and reporter: Pavan Deolasee Discussion: https://postgr.es/m/CABOikdPhsHM+pX8skoEY1_T0OtKdO1udzUj4VCjU5VEt+bj4eA@mail.gmail.com
1 parent 0502e85 commit a600ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/modules/commit_ts/t/004_restart.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
my $before_restart_ts = $node_master->safe_psql('postgres',
5656
qq[SELECT pg_xact_commit_timestamp('$xid');]);
57-
ok($before_restart_ts != '' && $before_restart_ts != 'null',
57+
ok($before_restart_ts ne '' && $before_restart_ts ne 'null',
5858
'commit timestamp recorded');
5959

6060
$node_master->stop('immediate');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy