Lines Matching refs:format
1304 """Verify that pkgfmt -c format checking works as expected."""
1314 # Verify pkgfmt exits 1 when checking format for manifest that
1316 self.pkgfmt("-c {0}".format(man), exit=1)
1319 self.pkgfmt("-c < {0}".format(man), exit=1)
1321 # Verify pkgfmt exits 1 when checking format for multiple
1323 self.pkgfmt("-c {0} {1}".format(man, man2), exit=1)
1328 self.pkgfmt("-f {0} {1}".format(pfmt, man))
1332 msg="{0} format".format(pfmt))
1341 msg="{0} format".format(pfmt))
1347 self.pkgfmt("-c {0} {1}".format(man2, man), exit=1)
1350 self.pkgfmt("-c {0}".format(man))
1357 self.pkgfmt("-c {0} {1}".format(man, man2))
1359 # Verify pkgfmt -c accepts a manifest in v1 or v2 format, and
1364 self.pkgfmt("-c {0}".format(man))
1366 # Verify pkgfmt -c accepts both a v1 and v2 format manifest
1372 self.pkgfmt("-c {0} {1}".format(man, man2))
1381 self.cmdline_run("sed '/^#/d' < {0} > {1}; mv {2} {3}".format(
1387 self.pkgfmt("-u < {0} > {1}".format(source_file, mod_file))
1388 # sort into alternate order and format
1389 self.cmdline_run("/usr/bin/sort -o {0} {1}".format(
1391 self.pkgfmt("{0}".format(mod_file))
1392 self.pkgfmt("{0}".format(source_file))
1393 self.cmdline_run("/usr/bin/diff {0} {1}".format(
1402 self.pkgfmt("{0}".format(source_file), su_wrap=True, exit=1)
1405 self.pkgfmt("{0}".format(source_file))
1408 self.pkgfmt("-c {0}".format(source_file), su_wrap=True)
1413 self.pkgfmt("< {0}".format(source_file))