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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tar_xattr_bsd.c b/tests/tar_xattr_bsd.c
index 2e9479c..50c0150 100644
--- a/tests/tar_xattr_bsd.c
+++ b/tests/tar_xattr_bsd.c
@@ -51,7 +51,7 @@ int main(void)
assert(hdr.mtime == 1543094477);
assert(strcmp(hdr.name, "input.txt") == 0);
assert(!hdr.unknown_record);
- assert(read_data("data0", fd, buffer, 5) == 0);
+ assert(read_retry("data0", fd, buffer, 5) == 0);
buffer[5] = '\0';
assert(strcmp(buffer, "test\n") == 0);