[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test-stat-time fails on AFS?
From: |
Simon Josefsson |
Subject: |
test-stat-time fails on AFS? |
Date: |
Mon, 12 Dec 2022 10:07:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi. We got a bug report about a gnulib self-test failure:
https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/30
Summarizing, this is the failure:
test-stat-time.c:186: assertion 'statinfo[2].st_mtime < statinfo[1].st_ctime ||
(statinfo[2].st_mtime == statinfo[1].st_ctime && (get_stat_mtime_ns
(&statinfo[2]) < get_stat_ctime_ns (&statinfo[1])))' failed
The user is building it on an AFS file system, which most likely
explains the failure (although that has to be confirmed). While the
explanation may be that AFS is not providing POSIX-semantics for the
file system, I think failing a self-test for this reason is too strong:
it could print an error message, or SKIP the test. Thoughts?
/Simon
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- test-stat-time fails on AFS?,
Simon Josefsson <=