def METHOD_NAME(self):
    for ver1, ver2, sort in self.tests:
        op = { -1: "<<", 0: "=", 1: ">>" }[sort]
        status = subprocess.call((oe.path.join(self.bindir, "dpkg"), "--compare-versions", ver1, op, ver2))
        self.assertEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2))
        # Now do it again but with incorrect operations
        op = { -1: ">>", 0: ">>", 1: "<<" }[sort]
        status = subprocess.call((oe.path.join(self.bindir, "dpkg"), "--compare-versions", ver1, op, ver2))
        self.assertNotEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2))
        # Now do it again but with incorrect operations
        op = { -1: "=", 0: "<<", 1: "=" }[sort]
        status = subprocess.call((oe.path.join(self.bindir, "dpkg"), "--compare-versions", ver1, op, ver2))
        self.assertNotEqual(status, 0, "%s %s %s failed" % (ver1, op, ver2))