protected void shellSQL( boolean expectedResult, String sql ) throws IOException
{
String[] args = new String[]{"--verbose", "debug", "--sql", "-", "--platform", getPlatformName(),
"--resultPath", getResultPath()};
Shell shell = createShell( new ByteArrayInputStream( sql.concat( "\n" ).getBytes() ) );
boolean result = shell.execute( args );
assertEquals( "'" + sql + "' returned incorrect status", expectedResult, result );
}
protected Catalog createCatalog()
{