From 58a69a5b63a75989c0fde21283bebce7ec157eae Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 1 Mar 2022 14:58:51 +0100 Subject: [PATCH] split off -Ts from -Tj there is actually no use case overlap between between the two (though limiting the step count does imply keeping the journal, as we exit before we could commit anyway). --- src/main.c | 2 ++ src/run-tests.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index c24c444..3c1deae 100644 --- a/src/main.c +++ b/src/main.c @@ -430,6 +430,8 @@ main( int argc, char **argv ) break; case 'j': DFlags |= KEEPJOURNAL; + break; + case 's': JLimit = strtol( ochar, &ochar, 10 ); break; case 'z': diff --git a/src/run-tests.pl b/src/run-tests.pl index 3e0f7fe..da488ce 100755 --- a/src/run-tests.pl +++ b/src/run-tests.pl @@ -834,7 +834,7 @@ sub test_impl($$$$) for (my $l = 1; $l <= $njl; $l++) { mkchan($sx); - my ($nxc, $nret) = runsync($async, "-Tj$l", "4-interrupt.log"); + my ($nxc, $nret) = runsync($async, "-Ts$l", "4-interrupt.log"); if ($nxc != (100 + ($l & 1)) << 8) { print "Interrupting at step $l/$njl failed.\n"; print "Debug output:\n";