diff options
Diffstat (limited to 'tests/tar_xattr_bsd.c')
-rw-r--r-- | tests/tar_xattr_bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tar_xattr_bsd.c b/tests/tar_xattr_bsd.c index cfd7ad7..e324b4c 100644 --- a/tests/tar_xattr_bsd.c +++ b/tests/tar_xattr_bsd.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); |