bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

binfalse is set to true in the lastpipe test


From: Pierre Labastie
Subject: binfalse is set to true in the lastpipe test
Date: Sun, 31 May 2020 17:25:15 +0200
User-agent: Evolution 3.36.3

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]