private void testScriptFile(String scriptText, List<String> argList, OutStream streamType,
      List<Tuple<String>> expectedMatches) throws Throwable {
    testScriptFile(scriptText, argList, streamType, expectedMatches,
        Arrays.asList(Modes.values()));
  }
Attempt to execute a simple script file with the -f and -i option
to BeeLine to test for presence of an expected pattern
in the output (stdout or stderr), fail if not found.
Print PASSED or FAILED
@param argList arguments
@param outType output stream type
@param expectedRegex Text to look for in command output (stdout)
@param shouldMatch true if the pattern should be found, false if it should not
@throws Throwable
itests/hive-unit/src/test/java/org/apache/hive/beeline/TestBeeLineWithArgs.java