mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
netbsd: work around failure in test_basic_functionality, #8703
I could not find the root cause of this issue, but it is likely a minor problem with ctime and doesn't affect borg usage much. So I rather like to have CI on netbsd not failing because of this.
This commit is contained in:
parent
b929e0c5af
commit
1589489bda
1 changed files with 2 additions and 1 deletions
|
|
@ -176,7 +176,8 @@ def test_basic_functionality(archivers, request):
|
|||
assert unexpected not in get_changes("input/file_touched", joutput)
|
||||
if not content_only:
|
||||
# on win32, ctime is the file creation time and does not change.
|
||||
expected = {"mtime"} if is_win32 else {"mtime", "ctime"}
|
||||
# not sure why netbsd only has mtime, but it does, #8703.
|
||||
expected = {"mtime"} if (is_win32 or is_netbsd) else {"mtime", "ctime"}
|
||||
assert expected.issubset({c["type"] for c in get_changes("input/file_touched", joutput)})
|
||||
else:
|
||||
# And if we're doing content-only, don't show the file at all.
|
||||
|
|
|
|||
Loading…
Reference in a new issue