]> git.ipfire.org Git - thirdparty/libarchive.git/commit
test_option_n.c: cover non-recursive extract/list 812/head
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 24 Oct 2016 11:10:48 +0000 (13:10 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Tue, 16 Apr 2019 12:27:14 +0000 (14:27 +0200)
commit8e35a5b71cfc08588cba40d6300f0e38d3bd2242
tree68f557b01d0de8fc478dfee2cb80b308f476072c
parent7c5e94c9ec3a70ddaeec6c554149eb13db9cfe60
test_option_n.c: cover non-recursive extract/list

Testing uses only listing because extraction uses the same code
paths. Indirectly this covers also the new API call.

Some corner cases get special attention:
- archive where a file in a directory is present without the
  directory
- the error when asking to extract a directory which is not
  present
tar/test/test_option_n.c