diff options
Diffstat (limited to 'lib/tar/test/tar_iterator3.c')
-rw-r--r-- | lib/tar/test/tar_iterator3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tar/test/tar_iterator3.c b/lib/tar/test/tar_iterator3.c index 11c2fd2..0aee0e3 100644 --- a/lib/tar/test/tar_iterator3.c +++ b/lib/tar/test/tar_iterator3.c @@ -23,7 +23,8 @@ int main(int argc, char **argv) TEST_ASSERT(chdir(TEST_PATH) == 0); - fp = istream_open_file("format-acceptance/link_filled.tar"); + ret = istream_open_file(&fp, "format-acceptance/link_filled.tar"); + TEST_EQUAL_I(ret, 0); TEST_NOT_NULL(fp); TEST_EQUAL_UI(((sqfs_object_t *)fp)->refcount, 1); it = tar_open_stream(fp); |