diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-24 12:35:35 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-24 13:46:05 +0200 |
commit | 30fbd496a1793b4374873144432f9b7a996a689d (patch) | |
tree | 3112554b3c51501ca78b417569003b9f5a065fa0 /tests/tar_xattr_schily.c | |
parent | 802b43c95ab4d6e44e17d6b81931e0963182c262 (diff) |
cleanup: remove atime/ctime processing code
This commit removes all the code for parsing and processing atime/ctime
and values and related test code.
Caring about those is kind of pointless because squashfs can only store
mtime in inodes. The only relevant place is when generating a struct
stat from a squashfs inode or an fstree node.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/tar_xattr_schily.c')
-rw-r--r-- | tests/tar_xattr_schily.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/tar_xattr_schily.c b/tests/tar_xattr_schily.c index c8b85c8..e49bdd9 100644 --- a/tests/tar_xattr_schily.c +++ b/tests/tar_xattr_schily.c @@ -43,8 +43,6 @@ int main(void) assert(hdr.sb.st_gid == 01750); assert(hdr.sb.st_size == 5); assert(hdr.sb.st_mtime == 1543094477); - assert(hdr.sb.st_atime == 1543094642); - assert(hdr.sb.st_ctime == 1543094606); assert(strcmp(hdr.name, "input.txt") == 0); assert(!hdr.unknown_record); assert(read_data("data0", fd, buffer, 5) == 0); |