summaryrefslogtreecommitdiff
path: root/tests/tar_xattr_schily.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tar_xattr_schily.c')
-rw-r--r--tests/tar_xattr_schily.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tar_xattr_schily.c b/tests/tar_xattr_schily.c
index e49bdd9..9030a45 100644
--- a/tests/tar_xattr_schily.c
+++ b/tests/tar_xattr_schily.c
@@ -43,6 +43,7 @@ int main(void)
assert(hdr.sb.st_gid == 01750);
assert(hdr.sb.st_size == 5);
assert(hdr.sb.st_mtime == 1543094477);
+ assert(hdr.mtime == 1543094477);
assert(strcmp(hdr.name, "input.txt") == 0);
assert(!hdr.unknown_record);
assert(read_data("data0", fd, buffer, 5) == 0);