aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tar_sparse_gnu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/tar_sparse_gnu.c b/tests/tar_sparse_gnu.c
index d4d65d3..4c3ee31 100644
--- a/tests/tar_sparse_gnu.c
+++ b/tests/tar_sparse_gnu.c
@@ -40,7 +40,8 @@ int main(void)
assert(hdr.sb.st_uid == 01750);
assert(hdr.sb.st_gid == 01750);
assert(hdr.sb.st_size == 524288);
- assert(hdr.sparse_size == 8192);
+ assert(hdr.actual_size == 524288);
+ assert(hdr.record_size == 8192);
assert(strcmp(hdr.name, "input.bin") == 0);
assert(!hdr.unknown_record);
@@ -70,7 +71,8 @@ int main(void)
assert(hdr.sb.st_uid == 01750);
assert(hdr.sb.st_gid == 01750);
assert(hdr.sb.st_size == 2097152);
- assert(hdr.sparse_size == 32768);
+ assert(hdr.actual_size == 2097152);
+ assert(hdr.record_size == 32768);
assert(strcmp(hdr.name, "input.bin") == 0);
assert(!hdr.unknown_record);