# HG changeset patch # User Brett Smith # Date 1216829745 14400 # Node ID cb56c72f3d4298f15bac9d9e92f749109b393f63 # Parent 6db35db38795ba4eaafc3bcdd6eba8a6455a31f4 Use the --quiet option for cpio -t too. diff -r 6db35db38795 -r cb56c72f3d42 scripts/dtrx --- 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): diff -r 6db35db38795 -r cb56c72f3d42 tests/tests.yml --- 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