HomeSort by: relevance | last modified time | path
    Searched refs:temp_absolute_file_name (Results 1 - 3 of 3) sorted by relevancy

  /src/external/bsd/libarchive/dist/tar/test/
test_option_P_upper.c 27 char *temp_absolute_file_name = calloc(1, temp_absolute_file_name_length + 1); // +1 for null character. local
28 assertEqualInt(snprintf(temp_absolute_file_name, temp_absolute_file_name_length + 1, "%s%s", testworkdir, entry_suffix),
36 for (char *p = temp_absolute_file_name; *p != '\0'; p++)
45 assertMakeFile(temp_absolute_file_name, 0644, sample_data);
49 r = systemf("%s --absolute-paths -cf test.tar %s", testprog, temp_absolute_file_name);
51 r = systemf("%s --absolute-paths -cf test.tar \"%s\"", testprog, temp_absolute_file_name);
55 UNLINK(temp_absolute_file_name);
60 assertFileNotExists(temp_absolute_file_name);
64 assertFileExists(temp_absolute_file_name + 3); // Skip the drive letter, colon and slash.
65 UNLINK(temp_absolute_file_name + 3)
    [all...]
  /src/external/bsd/libarchive/dist/cpio/test/
test_extract_cpio_absolute_paths.c 27 char *temp_absolute_file_name = calloc(1, temp_absolute_file_name_length + 1); // +1 for null character. local
28 assertEqualInt(snprintf(temp_absolute_file_name, temp_absolute_file_name_length + 1, "%s%s", testworkdir, entry_suffix),
33 assertMakeFile(temp_absolute_file_name, 0644, sample_data);
36 assertMakeFile("filelist", 0644, temp_absolute_file_name);
41 UNLINK(temp_absolute_file_name);
46 assertFileNotExists(temp_absolute_file_name);
47 UNLINK(temp_absolute_file_name); // Cleanup just in case.
52 assertFileExists(temp_absolute_file_name);
  /src/external/bsd/libarchive/dist/libarchive/test/
test_write_disk_secure_noabsolutepaths.c 42 char *temp_absolute_file_name = calloc(1, temp_absolute_file_name_length + 1); // +1 for null character. local
43 assertEqualInt(snprintf(temp_absolute_file_name, temp_absolute_file_name_length + 1, "%s%s", testworkdir, entry_suffix),
48 for (char *p = temp_absolute_file_name; *p != '\0'; p++)
53 archive_entry_copy_pathname(ae, temp_absolute_file_name);
69 assertEqualString(temp_absolute_file_name, archive_entry_pathname(ae));
76 UNLINK(temp_absolute_file_name);

Completed in 28 milliseconds