Package: myrepos

mr: skip: skip = false must not skip
    
safe shortcut for literal false was not working
    
in skip test handling line 1119 we do a << 8 to adapt to the quirk of system()
function. runsh is adapted to return 1 >> 8 for "false" and it now works
    
This bug seems here forever (probably since 48204df)

diff --git a/mr b/mr
index 0233e17..afbf658 100755
--- a/mr
+++ b/mr
@@ -812,7 +812,7 @@ sub runsh {
        }
        elsif ($command =~ /^\s*false\s*$/) {
                $?=0;
-               return 1;
+               return 1 << 8;
        }
 
        my $quotedparams=join(" ", (map { shellquote($_) } @$params));

Reply via email to