yangfl
5cdc5736f3
Replace mknod() with creat()
...
For mknod(), mode must be S_IFIFO otherwise the behaviour is unspecified
according to SUS, and apparently Debian/kFreeBSD is in the hater list.
2022-01-27 00:11:00 +08:00
yangfl
059bfd7806
test: use sleep() for mtime delay
...
For filesystems without high-resolution time support, an usleep() is too short
to alter mtime. Though 1s is quite safe, sleep for 2s in case it gets awaken
right within that second.
2022-01-26 23:57:27 +08:00
yangfl
0cda6339a4
Fix fisdir sigfault on Hurd
...
Apparently Hurd's stat() does not like NULL and will sigfault, this patch takes
care of it.
2022-01-26 02:11:08 +08:00
yangfl
e5fe988cdc
Avoid (some) hard-coded pathes in tests
2020-06-01 23:04:29 +08:00