commit 58a69a5b63a75989c0fde21283bebce7ec157eae
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Tue Mar 1 14:58:51 2022 +0100

    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 c24c4445..3c1deae8 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 3e0f7fe8..da488cea 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";


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to