@Test
public void testConfWithInvalidFile() throws Throwable {

  String[] args = new String[1];
  args[0] = "--conf=invalidFile";
  Throwable th = null;
  try {
    FsShell.main(args);
  } catch (Exception e) {
    th = e;
  }
  if (!(th instanceof RuntimeException)) {
    throw new AssertionError("Expected Runtime exception, got: " + th)
        .initCause(th);
  }
}