Use the --quiet option for cpio -t too. trunk

Wed, 23 Jul 2008 12:15:45 -0400

author
Brett Smith <brettcsmith@brettcsmith.org>
date
Wed, 23 Jul 2008 12:15:45 -0400
branch
trunk
changeset 83
cb56c72f3d42
parent 82
6db35db38795
child 84
d78d63cb4c4e

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

mercurial