NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/49033: fs/vfs/t_vnops/udf_lookup_complex test case randomly fails
The following reply was made to PR kern/49033; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/49033: fs/vfs/t_vnops/udf_lookup_complex test case randomly
fails
Date: Wed, 30 Jul 2014 14:55:07 +0200
On Wed, Jul 30, 2014 at 12:45:01PM +0000, Reinoud Zandijk wrote:
> I think i can explain this one, though i have not seen WHAT lookup fails; it
> would be handy if the test would give hints, if only a line number.
Well, just look at the source of the test case:
sprintf(pb, "%s/dir", mountpath);
if (rump_sys_mkdir(pb, 0777) == -1)
atf_tc_fail_errno("mkdir");
if (rump_sys_stat(pb, &sb1) == -1)
atf_tc_fail_errno("stat 1");
sprintf(pb, "%s/./dir/../././dir/.", mountpath);
if (rump_sys_stat(pb, &sb2) == -1)
atf_tc_fail_errno("stat 2");
if (memcmp(&sb1, &sb2, sizeof(sb1)) != 0) {
printf("what\tsb1\t\tsb2\n");
[..]
... atime differs
Martin
Home |
Main Index |
Thread Index |
Old Index