FsShell shell = new FsShell();
shell.setConf(conf);
String argv[] = new String[2];
argv[0] = "-undelete";
argv[1] = path.toString();
assertTrue(shell.run(argv) == 0);
assertTrue(fs.exists(path));
String verify = readFileContents(fs, path);
System.err.println("verify=" + verify);
assertTrue(verify.equals("right version"));