aboutsummaryrefslogtreecommitdiff
path: root/lib/tar/test/tar_iterator2.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2023-08-06 21:35:58 +0200
committerDavid Oberhollenzer <goliath@infraroot.at>2023-08-10 09:25:51 +0200
commitb637566020abe184cdda199d640c636a7565a05c (patch)
treec9e3057cff9eaf9fa7d33016096c6228348f6f45 /lib/tar/test/tar_iterator2.c
parente7ecb1f92ae618a56ee8eabb6cbf98365de3695a (diff)
tar2sqfs: Add option to exclude files
Using --exclude or -E it is now possible to exclude files from the input tar stream. The options can be used multiple times. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'lib/tar/test/tar_iterator2.c')
-rw-r--r--lib/tar/test/tar_iterator2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tar/test/tar_iterator2.c b/lib/tar/test/tar_iterator2.c
index 681835d..7b22af3 100644
--- a/lib/tar/test/tar_iterator2.c
+++ b/lib/tar/test/tar_iterator2.c
@@ -57,7 +57,7 @@ int main(int argc, char **argv)
0);
TEST_EQUAL_I(iret, 0);
TEST_NOT_NULL(fp);
- it = tar_open_stream(fp);
+ it = tar_open_stream(fp, NULL);
TEST_NOT_NULL(it);
sqfs_drop(fp);