The test_libc_futimes_works() is failing under RHEL/Centos right now. To make it more robust a tiny sleep and rounding of the timestamps is introduced to ensure that we are not run into floating point comaparison funnines. The second part of the fix is to open the stamp_file in read-only mode to ensure that the mtime is not modified by the open itself which is what lead to the actual test failure. |
||
|---|---|---|
| .. | ||
| cases | ||
| data | ||
| mod | ||
| run | ||
| stages | ||
| .gitignore | ||
| __init__.py | ||
| conftest.py | ||
| initrd.py | ||
| test.py | ||