Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/suites/backup: ignore time discrepancies when untar'ing (#14204)
In CI, untar'ing backups lead to those warnings about time discrepancies: ``` + tar -xzf /home/runner/work/lxd/lxd/test/tmp.yy0/T5U/testvol.tar.gz -C /home/runner/work/lxd/lxd/test/tmp.yy0/T5U/non-optimized tar: backup/index.yaml: time stamp 2024-10-04 13:47:24 is 0.053552327 s in the future tar: backup/volume-snapshots/test-snap0/test: time stamp 2024-10-04 13:47:24 is 0.053404079 s in the future tar: backup/volume-snapshots/test-snap0: time stamp 2024-10-04 13:47:24 is 0.053373382 s in the future tar: backup/volume-snapshots/test-snap1/test: time stamp 2024-10-04 13:47:24 is 0.053263225 s in the future tar: backup/volume-snapshots/test-snap1: time stamp 2024-10-04 13:47:24 is 0.053238839 s in the future tar: backup/volume/test: time stamp 2024-10-04 13:47:24 is 0.053151806 s in the future tar: backup/volume: time stamp 2024-10-04 13:47:24 is 0.053119726 s in the future ``` According to `man 1 tar`, `--warning=no-timestamp` would ignore the following warnings: ``` timestamp "%s: implausibly old time stamp %s" "%s: time stamp %s is %s s in the future" ```
- Loading branch information