Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Pierre Labastie Newsgroups: gnu.bash.bug Subject: binfalse is set to true in the lastpipe test Date: Sun, 31 May 2020 17:25:15 +0200 Lines: 37 Approved: bug-bash@gnu.org Message-ID: References: <5d391385ae3b38895a3b64eff956484272122fbe.camel@neuf.fr> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1590940623 24480 209.51.188.17 (31 May 2020 15:57:03 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org X-mail-filterd: 0.5.0 X-sfr-mailing: LEGIT X-sfr-spamrating: 40 X-sfr-spam: not-spam Authentication-Results: sfr.fr; auth=pass (LOGIN) smtp.auth=pierre.labastie@neuf.fr User-Agent: Evolution 3.36.3 Received-SPF: pass client-ip=93.17.128.21; envelope-from=pierre.labastie@neuf.fr; helo=smtp26.services.sfr.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/31 11:25:16 X-ACL-Warn: Detected OS = Linux 3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Sun, 31 May 2020 11:57:00 -0400 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <5d391385ae3b38895a3b64eff956484272122fbe.camel@neuf.fr> Xref: csiph.com gnu.bash.bug:16329 Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security uname output: Linux turboli 5.6.15-lfs-1 #1 SMP Wed May 27 21:46:33 CEST 2020 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu Bash Version: 5.0 Patch Level: 11 Release Status: release Description: Running tests in the chroot environment of the linuxfromscratch book. the run-lastpipe test outputs: 9c9 < 0 -- 0 0 0 --- > 1 -- 0 1 0 Note that in this environment the true and false binaries are only available in /tools/bin, so the script uses variables bintrue and binfalse. Repeat-By: You can reproduce this behavior by creating a dir, for example ~/bin. Move the true and false binaries to ~/bin, and add ~/bin to the PATH, then run tests. Fix: The script sets binfalse to true (*) if false not found in /usr/bin nor in /bin. Change it to false. (*) still the same on the devel branch on May 31st P. labastie