bug-coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-5.1.1: test failure on FreeBSD 4.4


From: Paul Eggert
Subject: Re: coreutils-5.1.1: test failure on FreeBSD 4.4
Date: 21 Jan 2004 12:36:29 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Nelson H. F. Beebe" <address@hidden> writes:

> make[3]: Entering directory 
> `/export/staff/computing/beebe/i386/build/coreutils-5.1.1/tests/touch'
> ls: not found

Thanks for reporting this.  This bug undoubtedly occurs because that
test script invokes

command ls -og --time-style=+%Y-%m-%dT%H:%M:%S f > out.1 || fail

I don't know why that "command" is there; it seems unnecessary to me,
but It was obviously put there for a reason.  Perhaps it's because too
many people alias "ls" to something else using a shell function?  If
so, perhaps the simplest workaround is to replace "command ls" with
"../../src/ls" (or whatever the appropriate number of ".."s is), along
with a little comment explaining the situation.

"command" isn't portable to older shells, so I'm a bit leery about
seeing it in portable scripts anyway.  The Sun implementation of
/usr/bin/command is dated 1995; I don't know if that's the earliest
occurrence of it in Solaris, but I suspect that it was a POSIX
invention so its appearance around then is plausible.




reply via email to

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