Wed, 23 Jul 2008 12:15:45 -0400
Use the --quiet option for cpio -t too.
scripts/dtrx | file | annotate | diff | comparison | revisions | |
tests/tests.yml | file | annotate | diff | comparison | revisions |
--- a/scripts/dtrx Wed Jul 23 12:01:58 2008 -0400 +++ b/scripts/dtrx Wed Jul 23 12:15:45 2008 -0400 @@ -343,7 +343,7 @@ file_type = 'cpio file' extract_pipe = ['cpio', '-i', '--make-directories', '--quiet', '--no-absolute-filenames'] - list_pipe = ['cpio', '-t'] + list_pipe = ['cpio', '-t', '--quiet'] class RPMExtractor(CpioExtractor):
--- a/tests/tests.yml Wed Jul 23 12:01:58 2008 -0400 +++ b/tests/tests.yml Wed Jul 23 12:15:45 2008 -0400 @@ -207,6 +207,12 @@ test-1.23/a/b test-1.23/foobar +- name: list contents of .cpio + options: -n -l + filenames: test-1.23.cpio + grep: ^test-1\.23/1/2/3$ + antigrep: blocks? + - name: list contents of multiple files options: -n --table filenames: test-1.23_all.deb test-1.23.zip