public QTestProcessExecResult compareResults() throws IOException, InterruptedException {
    if (!expectedOutputFile.exists()) {
      throw new IOException("Expected results file does not exist: " + expectedOutputFile);
    }
    return executeDiff();
  }
Compare the filtered file with the expected golden file
@return The comparison data
@throws IOException If there is a problem accessing the golden or generated file
@throws InterruptedException If there is a problem running the diff command
itests/util/src/main/java/org/apache/hive/beeline/QFile.java