Article View: linux.debian.bugs.dist
Article #5138Bug#1154503: PATCH skip = false not working
From: francois-oss
Date: Thu, 19 Nov 2026 18:50
Date: Thu, 19 Nov 2026 18:50
25 lines
2878 bytes
2878 bytes
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));
Technical Details
Message-ID:
<O1fmO-cWh9-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: francois-oss@avalenn.eu Newsgroups: linux.debian.bugs.dist Subject: Bug#1154503: PATCH skip = false not working Date: Thu, 19 Nov 2026 19:50:02 +0100 Message-ID: <O1fmO-cWh9-3@gated-at.bofh.it> X-Original-To: submit@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Nov 19 18:47:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.651 Reply-To: francois-oss@avalenn.eu, 1154503@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: richih@debian.org X-Debian-Pr-Message: report 1154503 X-Debian-Pr-Package: myrepos X-Debian-Pr-Source: myrepos User-Agent: Thunderbird for Android MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Gnd-Sasl: francois@avalenn.eu X-Gnd-Cause: dmFkZTGARDcr8mLtUTotk5z+l/oAwfgH+0a9d2qrmnTd87I+/U7FxkAVAl4P9n6w6OZWBwbhTUkYxzpl0kWTwor1PtQH19ICWlMX3+SXT6Z1iIJ0XnbxJ7ieVAUCxgufOdwwAyZYvfE+wUqdYKU0nGjWfsIvJhdxiLYydf2WAbaOkuowFH/g0tJuv75Pltw+FFGJaOWt21TKbRpSCIsHC7zykrfjwka/OQYumJsvQfo8o1vdzV0C4oC4APkgk55wJtfkUALhesHLF2xzqjASgKUJg+Cv9HXfb99HBjnJF49hbDbqZlNN0YDQ/tgjq0e0bot4LlFVz+n9pm0t6zFUj/lIOZFfmtWeALc0QdXOGcZk+vAx+rit12iMg/E+mUBi56Omx+O+Ex67ge2W2mTnuZcSnMSWmNaYAEG1orl77ZhHAfnzOev8Bm5KlT32o0+TV0plGThYX6SRINRhIy0d4XLqW4ezrWz2zlrRheN8/DKArhyp2r4maAmvbFRO4DtaJ3+bCv8fFJthy6A5KxbS6VjasGP6KwHeUyqPBSjtFdAiVZ6IAnWW0oSrkReQO1DGNc/IoUkTEeQFpfjDrXPJSgnV7PWY+Lm2gIzsfD/K12iG5QJrJBsrD99jeul2Ba47+Pw8qdFvk3MqAwdMR2iluSObZE4JSHp9R5oyFwDJIx04jSwmjw X-Gnd-State: clean X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003601 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 25 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 19 Nov 2026 18:52:57 +0100 X-Original-Message-ID: <9627100A-C9DA-44B1-B46E-312463565911@avalenn.eu>