System.getProperty("user.name")));
// temp directory automatically skips trash.
createFile(fs, new Path("/tmp/testDelete"));
TestCase.assertTrue(fs.delete(new Path("/tmp/testDelete"), false, false));
TestCase.assertFalse(fs.undelete(new Path("/tmp/testDelete"),
System.getProperty("user.name")));
}
finally {
if (cluster != null) {cluster.shutdown();}
}