@Test(expected = FrontendException.class)
public void testBlacklistRemoveWithPigServer() throws Exception {
ctx.getProperties().setProperty(PigConfiguration.PIG_BLACKLIST, "rm");
PigServer pigServer = new PigServer(ctx);
pigServer.deleteFile("foo");
}
/**
* Test mkdirs fails if its disallowed via the blacklist
*/