summaryrefslogtreecommitdiff
path: root/tests/tar_xattr_bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tar_xattr_bsd.c')
-rw-r--r--tests/tar_xattr_bsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tar_xattr_bsd.c b/tests/tar_xattr_bsd.c
index 360448f..b2a1290 100644
--- a/tests/tar_xattr_bsd.c
+++ b/tests/tar_xattr_bsd.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);