Re: HFS+ Bug which causes coreutils "make test" to fail

From: Martin Schaffner
Date: Fri Nov 19 2004 - 12:41:43 EST



On 18.11.2004, at 04:52, Andrew Morton wrote:

Martin Schaffner <schaffner@xxxxxx> wrote:

I'm installing my system using an HFS+ partition as root.
When I installed the GNU coreutils, I noticed that some test fail, even
though they succeed on other fs such as ext2.
I've tracked down one failure to the following:

mkdir a; chmod 1777 a; touch a/b; su otheruser -c "rm -rf a"

gives differing results. On ext2:

rm: cannot remove 'a': Permission denied

On HFS+:

rm: reading directory 'a/b': Not a directory
rm: cannot remove directory 'a': Directory not empty


The other failure related to the fact that all pipe files are suffixed
by "|", and all links by "@" when doing "ls -1F" on HFS+


What is the kernel version?

Sorry for forgetting to write this; it was linux-2.6.8.1.

Today, I retested with linux-2.6.10-rc2, and found out that both failures happen with this version, too.

Here's part of the log from the second failure:
make[3]: Entering directory `/native/coreutils-5.2.1/tests/ls'
make check-TESTS
make[3]: Entering directory `/native/coreutils-5.2.1/tests/ls'
PASS: inode
PASS: dangle
out2 exp2 differ: char 21, line 3
3c3
< fifo
---
> fifo|
5,7c5,7
< slink-dangle
< slink-dir
< slink-reg
---
> slink-dangle@
> slink-dir@
> slink-reg@
FAIL: file-type
PASS: recursive
PASS: dired
...
1 of 12 tests failed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/