@After
  public void tearDown() {
    tmp.delete();
    restoreOutputStream();
  }
This method is used for verifying CMD to see whether the output contains the keywords provided.
beeline/src/test/org/apache/hive/beeline/cli/TestHiveCli.java