Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16329

binfalse is set to true in the lastpipe test

From Pierre Labastie <pierre.labastie@neuf.fr>
Newsgroups gnu.bash.bug
Subject binfalse is set to true in the lastpipe test
Date 2020-05-31 17:25 +0200
Message-ID <mailman.830.1590940622.2541.bug-bash@gnu.org> (permalink)
References <5d391385ae3b38895a3b64eff956484272122fbe.camel@neuf.fr>

Show all headers | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

binfalse is set to true in the lastpipe test Pierre Labastie <pierre.labastie@neuf.fr> - 2020-05-31 17:25 +0200

csiph-web