示例#1
0
文件: test.c 项目: tmud/libs
int main(int argc, char *argv[]) {
  UNUSED(argc);
  UNUSED(argv);

  remove(ZIPNAME);

  test_write();
  test_append();
  test_read();
  test_extract();
  test_total_entries();
  test_entry_name();
  test_entry_index();
  test_entry_openbyindex();
  test_list_entries();
  test_fwrite();
  test_read_permissions();
  test_write_permissions();
  test_exe_permissions();
  test_mtime();

  remove(ZIPNAME);
  return 0;
}
示例#2
0
int main(int argc, char *argv[])
{
  return test_fwrite(".");
}