[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #56831] FAIL: tests/find/printf_inode
From: |
Michal Nowak |
Subject: |
[bug #56831] FAIL: tests/find/printf_inode |
Date: |
Fri, 30 Aug 2019 04:13:32 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; SunOS i86pc; rv:66.0) Gecko/20100101 Firefox/66.0 |
URL:
<https://savannah.gnu.org/bugs/?56831>
Summary: FAIL: tests/find/printf_inode
Project: findutils
Submitted by: mno_hime
Submitted on: Fri 30 Aug 2019 08:13:30 AM UTC
Category: find
Severity: 3 - Normal
Item Group: Test suite failure
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.7.0
Fixed Release: None
_______________________________________________________
Details:
On OpenIndiana 2019.04 (an illumos distribution) the tests/find/printf_inode
test fails.
It's started like this like this with GNU utilities in the PATH taking
precedence:
(cd
/export/home/newman/ws/oi-userland/components/sysutils/findutils/build/amd64 ;
\
/usr/bin/env PATH="/usr/gnu/bin:/usr/bin:/usr/sbin:/usr/perl5/bin"
GPG="gpg2" \
/usr/gnu/bin/make \
-k check) \
&>
/export/home/newman/ws/oi-userland/components/sysutils/findutils/build/test/amd64/test-64-results
And fails like this:
FAIL: tests/find/printf_inode
=============================
--- exp 2019-08-30 09:30:29.640472309 +0000
+++ out2 2019-08-30 09:30:29.647621420 +0000
@@ -1 +1 @@
-___5691391_file
+5691391_file
--- exp 2019-08-30 09:30:29.640472309 +0000
+++ out2 2019-08-30 09:30:29.656348083 +0000
@@ -1 +1 @@
-___5691391_file
+5691391_file
FAIL tests/find/printf_inode.sh (exit status: 1)
I think that the problem is that even-though I started the test with GNU
utilities taking precedence in the PATH, the illumos `ls` was used.
See that the illumos `ls` has some alignment to the right:
$ /usr/gnu/bin/ls -i Makefile
5667484 Makefile
$ /bin/ls -i Makefile
5667484 Makefile
Perhaps this code makes the difference:
findutils-4.7.0/tests/find/printf_inode.sh:
make_canonical() {
sed -e 's/ /_/g'
}
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56831>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #56831] FAIL: tests/find/printf_inode,
Michal Nowak <=