private void runImportTest(String tableName, String [] types,
String [] values, String verificationScript, String [] args,
SqoopTool tool) throws IOException {
createTableWithColTypes(types, values);
SqoopOptions options = getSqoopOptions(args, tool);
String hiveHome = options.getHiveHome();
assertNotNull("hive.home was not set", hiveHome);
String testDataPath = new Path(new Path(hiveHome),
"scripts/" + verificationScript).toString();
System.setProperty("expected.script",
new File(testDataPath).getAbsolutePath());
runImport(tool, args);
}