def METHOD_NAME(self, command):
    file_name = open(self.pgdev, 'w')
    file_name.write(command + '\n')
    file_name.close()
    if not self.match_string('Result: OK', self.pgdev):
        if not self.match_string('Result: NA', self.pgdev):
            if not self.start_flag:
                process.system("cat %s" % self.pgdev,
                               ignore_status=True, shell=True)
                self.fail("Test failed")