repo: use OSTREE_TIMESTAMP (=1) for checked-out files
1 is a better choice than 0 because some programs use 0 as a special value; for example, GNU Tar warns of an "implausibly old timestamp" with 0. Closes: #330 Approved by: cgwalters
This commit is contained in:
1 parent
f94b191ae5
commit
0e9a875393
7 files changed
+35
-13
No files matched your search
+2
-2
@@ -386,9 +386,9 @@ else
|
||||
$OSTREE checkout test2 test2-checkout
|
||||
fi
|
||||
stat '--format=%Y' test2-checkout/baz/cow > cow-mtime
|
||||
assert_file_has_content cow-mtime 0
|
||||
assert_file_has_content cow-mtime 1
|
||||
stat '--format=%Y' test2-checkout/baz/deeper > deeper-mtime
|
||||
assert_file_has_content deeper-mtime 0
|
||||
assert_file_has_content deeper-mtime 1
|
||||
echo "ok content mtime"
|
||||
|
||||
cd ${test_tmpdir}
|
||||
|
||||
Reference in new issue
Block a user