From 75744407fbebd0488d05fda347921a4827c2b455 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 22 Aug 2019 19:34:21 +0200 Subject: [PATCH] *** verify that -0 --no-expunge really does nothing --- src/run-tests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run-tests.pl b/src/run-tests.pl index eb69344..75d2736 100755 --- a/src/run-tests.pl +++ b/src/run-tests.pl @@ -714,7 +714,7 @@ sub test_impl($$$$) my $nj = readfile("near/.mbsyncstate.journal"); my ($jxc, $jret) = runsync($async, "-0 --no-expunge", "2-replay.log"); - if ($jxc || ckstate("near/.mbsyncstate", $$tx[2])) { + if ($jxc || ckchan("near/.mbsyncstate", $tx)) { print "Journal replay failed.\n"; print "Options:\n"; print " [ ".join(", ", map('"'.qm($_).'"', @$sfx))." ], [ \"-0\", \"--no-expunge\" ]\n";