Lines Matching full:archive
58 // testCreate creates an archive in the specified directory.
61 ar := archive(name, os.O_RDWR, nil)
66 ar = archive(name, os.O_RDONLY, []string{helloFile.name})
84 // Test that we can create an archive, write to it, and get the same contents back.
85 // Tests the rv and then the pv command on a new archive.
92 // Test that we can create an archive twice with the same name (Issue 8369).
100 // Test that we can create an archive, put some files in it, and get back a correct listing.
106 ar := archive(name, os.O_RDWR, nil)
114 ar = archive(name, os.O_RDONLY, nil)
134 ar = archive(name, os.O_RDONLY, nil)
147 ar = archive(name, os.O_RDONLY, []string{helloFile.name})
158 // Test that we can create an archive, put some files in it, and get back a file.
164 ar := archive(name, os.O_RDWR, nil)
169 // Now extract one file. We chdir to the directory of the archive for simplicity.
184 ar = archive(name, os.O_RDONLY, []string{goodbyeFile.name})