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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tar_xattr_schily.c b/tests/tar_xattr_schily.c
index 481e6ea..4dca88e 100644
--- a/tests/tar_xattr_schily.c
+++ b/tests/tar_xattr_schily.c
@@ -45,7 +45,7 @@ int main(void)
assert(hdr.sb.st_ctime == 1543094606);
assert(strcmp(hdr.name, "input.txt") == 0);
assert(!hdr.unknown_record);
- assert(read_retry(fd, buffer, 5) == 5);
+ assert(read_data("data0", fd, buffer, 5) == 0);
buffer[5] = '\0';
assert(strcmp(buffer, "test\n") == 0);