NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/57314: ATF unit tests fail on 3 of 7 cases in program lib/libc/c063/t_utimensat on evbarm/Rpi 02W
The following reply was made to PR lib/57314; it has been noted by GNATS.
From: Jim Spath <jspath55%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: lib/57314: ATF unit tests fail on 3 of 7 cases in program
lib/libc/c063/t_utimensat on evbarm/Rpi 02W
Date: Fri, 31 Mar 2023 11:56:09 -0400
(apologies if this double posts; gnats and gmail are like chalk and cheese)
Michael wrote:
> please run the mount command.
$ mount
/dev/ld0a on / type ffs (noatime, local)
/dev/ld0e on /boot type msdos (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)
> atf uses ATF_WORKDIR and defaults to /tmp
All 7 test cases succeeded when I set the ATF_WORKDIR to an
NFS-mounted directory.
The time man page shows noatime means "Never update the access time
field for files" so that sounds like the probable cause.
Jim
On Fri, Mar 31, 2023 at 11:00=E2=80=AFAM Michael van Elst <mlelstv@serpens.=
de> wrote:
>
> The following reply was made to PR lib/57314; it has been noted by GNATS.
>
> From: mlelstv%serpens.de@localhost (Michael van Elst)
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: lib/57314: ATF unit tests fail on 3 of 7 cases in program li=
b/libc/c063/t_utimensat on evbarm/Rpi 02W
> Date: Fri, 31 Mar 2023 14:56:07 -0000 (UTC)
>
> jspath55%gmail.com@localhost (Jim Spath) writes:
>
> >
> > > /tmp being a FAT filesystem or do you redirect the test to use a FA=
T fil=3D
> > esystem?
> >
> > Not that I am aware. The "disk" layout looks like this:
> >
> > $ df -m /tmp
> > Filesystem 1M-blocks Used Avail %Cap Mounted on
> > /dev/ld0a 58604 5215 50458 9% /
>
> > $ cat /etc/fstab
> > # NetBSD /etc/fstab
> > # See /usr/share/examples/fstab/ for more examples.
> > ROOT.a / ffs rw,noatime 1 1
> > ROOT.e /boot msdos rw 1 1
> > ptyfs /dev/pts ptyfs rw
> > procfs /proc procfs rw
> > tmpfs /var/shm tmpfs rw,-m1777,-sram%25
>
>
> Doesn't look like FAT (msdos) and the armv7.img uses ffs1.
> But to be sure, please run the mount command.
>
>
> > I can try with TMPDIR set elsewhere, or other permutations that might
> > shed light.
>
> atf uses ATF_WORKDIR and defaults to /tmp.
>
>
Home |
Main Index |
Thread Index |
Old Index