Lines Matching refs:pkgdiff
154 """Verify pkgdiff handles basic option and subcommand parsing as
159 self.pkgdiff("--help", exit=0)
160 self.pkgdiff("'-?'", exit=0)
163 self.pkgdiff("-U", exit=2)
164 self.pkgdiff("--unknown", exit=2)
167 self.pkgdiff("", exit=2)
170 self.pkgdiff(self.tree10_p5m, exit=2)
173 """Verify that pkgdiff can accept input from both files and
180 # Verify that pkgdiff finds no difference for the same file.
181 self.pkgdiff(" ".join((self.tree10_p5m, self.tree10_p5m)))
183 # Verify that pkgdiff finds a difference for different files.
184 self.pkgdiff(" ".join((self.tree10_p5m, self.tree20_p5m)),
187 # Verify that pkgdiff gracefully handles no such file errors.
188 self.pkgdiff(" ".join((self.tree10_p5m, self.bogus_p5m)), exit=3)
190 # Verify that pkgdiff gracefully handles permission errors.
191 self.pkgdiff(" ".join((self.tree10_p5m, self.noaccess_p5m)),
199 self.pkgdiff("- -", exit=2)
203 self.pkgdiff("- {0} < {1}".format(self.tree10_p5m, self.tree10_p5m))
206 self.pkgdiff("{0} - < {1}".format(self.tree10_p5m, self.tree20_p5m),
210 """Verify that pkgdiff action type filtering works as expected."""
213 self.pkgdiff(" ".join(("-t bogus,nosuchtype", self.tree10_p5m,
215 self.pkgdiff(" ".join(("-t bogus", "-t nosuchtype",
217 self.pkgdiff(" ".join(("-t bogus", "-t file", self.tree10_p5m,
221 self.pkgdiff(" ".join(("-t file", self.tree10_p5m,
225 self.pkgdiff(" ".join(("-t file", self.tree10_p5m,
229 self.pkgdiff(" ".join(("-t dir", self.tree10_p5m,
234 self.pkgdiff(" ".join(("-t file", self.tree20_p5m,
239 self.pkgdiff(" ".join(("-t dir,file", self.tree20_p5m,
242 self.pkgdiff(" ".join(("-t dir", "-t file", self.tree20_p5m,
248 self.pkgdiff(" ".join(("-t file", self.stub1_p5m,
255 self.pkgdiff(" ".join(("-t file", self.hashed10_p5m,
261 self.pkgdiff(" ".join(("-t file", self.hashed10_p5m,
298 self.pkgdiff(" ".join(("-t file -u", self.hashed10_p5m,
322 self.pkgdiff(" ".join(("-t file -o hash", self.hashed10_p5m,
342 self.pkgdiff(" ".join(("-t file -i hash -i chash -i elfhash "
349 self.pkgdiff(" ".join(("-t license", self.hashed20_p5m,
362 self.pkgdiff(" ".join(("-t license -o hash", self.hashed20_p5m,
373 self.pkgdiff(" ".join(("-t license -i hash -i chash",