tests/tests.yml

branch
trunk
changeset 19
bb6e9f4af1a5
parent 17
481a2b4be471
child 20
69c93c3e6972
--- a/tests/tests.yml	Tue Jan 02 20:30:17 2007 -0500
+++ b/tests/tests.yml	Sat Feb 10 16:43:44 2007 -0500
@@ -150,3 +150,36 @@
   prerun: |
     chmod 500 .
 
+- name: list contents of one file
+  options: -l
+  filenames: test-1.23.tar
+  output: |
+    test-1.23/
+    test-1.23/1/
+    test-1.23/1/2/
+    test-1.23/1/2/3
+    test-1.23/a/
+    test-1.23/a/b
+    test-1.23/foobar
+
+- name: list contents of multiple files
+  options: --table
+  filenames: test-1.23_all.deb test-1.23.zip
+  output: |
+    test-1.23_all.deb:
+    1/
+    1/2/
+    1/2/3
+    a/
+    a/b
+    foobar
+    
+    test-1.23.zip:
+    1/2/3
+    a/b
+    foobar
+
+- name: list contents of compressed file
+  options: -t
+  filenames: test-text.gz
+  output: test-text

mercurial