private void testUtil(String autoPurgePropValue, boolean isExternal, boolean isPartitioned,
      boolean isTruncateTest, String testTableName) throws Exception {
    testUtil(autoPurgePropValue, isExternal, isPartitioned,
        !"true".equalsIgnoreCase(autoPurgePropValue), isTruncateTest, testTableName);
  }
Test util method to run the insert overwrite table or truncate table test on a table

@param autoPurgePropValue - string value of the auto.purge property for the test table. Ignored
         if null
@param isExternal - if set creates a external table for the test
@param isPartitioned - if set creates a partitioned table for the test
@param isTruncateTest - if set uses truncate table command for the test. Otherwise uses Insert
         overwrite table command for the test
@param testTableName - test table name
@throws Exception
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/TestAutoPurgeTables.java