@Override
      String output(File scriptFile, List<String> argList, OutStream streamType) throws Throwable {
        List<String> copy = new ArrayList<>(argList);
        copy.add("-f");
        copy.add(scriptFile.getAbsolutePath());
        return testCommandLineScript(copy, null, streamType);
      }
Attempt to execute a simple script file with the -f or -i option
to BeeLine (or both) to  test for presence of an expected pattern
in the output (stdout or stderr), fail if not found.
Print PASSED or FAILED
@param scriptText script to test the output for
@param argList arguments to be passed to the script file to execute and produce output
@param streamType Whether match should be done against STDERR or STDOUT
@param expectedMatches List of Tuple's defining the pattern to match and result of matching
@param modes testing modes we have to run the script as
@throws Exception on command execution error
itests/hive-unit/src/test/java/org/apache/hive/beeline/TestBeeLineWithArgs.java