URL:
<http://savannah.gnu.org/bugs/?45064>
Summary: Use of [[ ... ]] in /bin/sh script is incorrect
Project: findutils
Submitted by: jay
Submitted on: Sun 10 May 2015 13:34:13 GMT
Category: find
Severity: 2 - Minor
Item Group: Compilation Failure
Status: In Progress
Privacy: Public
Assigned to: jay
Originator Name: Paolo Pedroni
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Release: 4.5.12
Fixed Release: None
_______________________________________________________
Details:
See Gentoo bug report at https://bugs.gentoo.org/531020.
indutils-4.5.12:20141128-163856.log.gz
Looks like the binary_locations.sh file has some bashisms in it:
Making a new site.exp file...
PASS: sv-bug-32043.sh
./test_escapechars.sh: 3: ./binary_locations.sh: [[: not found
./test_escapechars.sh: 9: ./binary_locations.sh: [[: not found
./test_escapechars.sh: 12: ./binary_locations.sh: [[: not found
Cannot find the executables to test.
FAIL: test_escapechars.sh
./test_escape_c.sh: 3: ./binary_locations.sh: [[: not found
./test_escape_c.sh: 9: ./binary_locations.sh: [[: not found
./test_escape_c.sh: 12: ./binary_locations.sh: [[: not found
Cannot find the executables to test.
FAIL: test_escape_c.sh
./test_inode.sh: 3: ./binary_locations.sh: [[: not found
./test_inode.sh: 9: ./binary_locations.sh: [[: not found
./test_inode.sh: 12: ./binary_locations.sh: [[: not found
Cannot find the executables to test.
FAIL: test_inode.sh
./sv-34079.sh: 3: ./binary_locations.sh: [[: not found
./sv-34079.sh: 9: ./binary_locations.sh: [[: not found
./sv-34079.sh: 12: ./binary_locations.sh: [[: not found
Cannot find the executables to test.
srcdir='.'; export srcdir; \
EXPECT=expect; export EXPECT; \
runtest=runtest; \
if /bin/bash -c "$runtest --version" > /dev/null 2>&1; then \
exit_status=0; l='find'; for tool in $l; do \
if $runtest --tool $tool --srcdir $srcdir ; \
then :; else exit_status=1; fi; \
done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi; \
exit $exit_status
FAIL: sv-34079.sh
./sv-34976-execdir-fd-leak.sh: 3: ./binary_locations.sh: [[: not found
./sv-34976-execdir-fd-leak.sh: 9: ./binary_locations.sh: [[: not found
./sv-34976-execdir-fd-leak.sh: 12: ./binary_locations.sh: [[: not found
Cannot find the executables to test.
FAIL: sv-34976-execdir-fd-leak.sh
======================================
5 of 6 tests failed
Please report to [email protected]
======================================
The same applies to sys-apps/findutils-4.5.14-r1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45064>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/