/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_secure.c | 57 assert(0 == archive_write_header(a, ae)); in DEFINE_TEST() 67 assert(0 == archive_write_header(a, ae)); in DEFINE_TEST() 77 assert(0 == archive_write_header(a, ae)); in DEFINE_TEST() 86 assertEqualInt(ARCHIVE_FAILED, archive_write_header(a, ae)); in DEFINE_TEST() 96 assert(0 == archive_write_header(a, ae)); in DEFINE_TEST() 105 assertEqualInt(ARCHIVE_FAILED, archive_write_header(a, ae)); in DEFINE_TEST() 117 assert(0 == archive_write_header(a, ae)); in DEFINE_TEST() 128 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 138 assert(0 == archive_write_header(a, ae)); in DEFINE_TEST() 147 assertEqualInt(ARCHIVE_FAILED, archive_write_header( in DEFINE_TEST() [all...] |
H A D | test_write_disk_symlink.c | 54 assertEqualIntA(ad, 0, archive_write_header(ad, ae)); in DEFINE_TEST() 66 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 82 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 95 assertEqualIntA(ad, 0, archive_write_header(ad, ae)); in DEFINE_TEST() 107 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 118 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 129 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 140 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 151 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 161 assertEqualIntA(ad, 0, r = archive_write_header(a in DEFINE_TEST() [all...] |
H A D | test_write_disk_perms.c | 154 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 163 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 174 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 182 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 197 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 228 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 241 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 249 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 258 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 271 assertA(0 == archive_write_header( in DEFINE_TEST() [all...] |
H A D | test_zip_filename_encoding.c | 61 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 86 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 110 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 151 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 175 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 207 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 246 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 295 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 320 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 364 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() [all …]
|
H A D | test_write_disk_times.c | 51 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 65 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 78 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 91 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 107 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 124 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 139 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 154 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST()
|
H A D | test_write_disk_hardlink.c | 72 assertEqualIntA(ad, 0, archive_write_header(ad, ae)); in DEFINE_TEST() 84 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 102 assertEqualIntA(ad, 0, archive_write_header(ad, ae)); in DEFINE_TEST() 114 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 132 assertEqualIntA(ad, 0, archive_write_header(ad, ae)); in DEFINE_TEST() 143 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 161 assertEqualIntA(ad, 0, archive_write_header(ad, ae)); in DEFINE_TEST() 172 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 190 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 205 assertEqualIntA(ad, 0, r = archive_write_header(a in DEFINE_TEST() [all...] |
H A D | test_read_extract.c | 54 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 63 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 71 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 78 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 85 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 92 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 99 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 108 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST()
|
H A D | test_gnutar_filename_encoding.c | 60 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 101 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 142 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 184 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 222 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 262 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 303 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 343 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 384 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 426 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() [all …]
|
H A D | test_ustar_filename_encoding.c | 61 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 102 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 143 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 185 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 223 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 263 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 304 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 344 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 385 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 427 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() [all …]
|
H A D | test_write_format_xar_empty.c | 60 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 70 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 80 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 90 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 100 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 110 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST()
|
H A D | test_write_format_warc_empty.c | 49 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, ae)); in DEFINE_TEST() 59 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, ae)); in DEFINE_TEST() 69 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, ae)); in DEFINE_TEST() 79 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, ae)); in DEFINE_TEST() 89 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, ae)); in DEFINE_TEST() 99 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, ae)); in DEFINE_TEST()
|
H A D | test_pax_filename_encoding.c | 130 assertEqualInt(ARCHIVE_WARN, archive_write_header(a, entry)); in test_pax_filename_encoding_2() 141 assertEqualInt(ARCHIVE_WARN, archive_write_header(a, entry)); in test_pax_filename_encoding_2() 149 assertEqualInt(ARCHIVE_WARN, archive_write_header(a, entry)); in test_pax_filename_encoding_2() 245 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); 253 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); 261 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); 269 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); 277 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); 371 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 418 assertEqualInt(ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() [all …]
|
H A D | test_write_format_ar.c | 51 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 63 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 71 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 80 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 88 assertA(0 != archive_write_header(a, ae)); in DEFINE_TEST() 96 assertA(0 != archive_write_header(a, ae)); in DEFINE_TEST() 153 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 163 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST()
|
H A D | test_ustar_filenames.c | 74 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, ae)); in test_filename() 76 assertEqualIntA(a, 0, archive_write_header(a, ae)); in test_filename() 88 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, ae)); in test_filename() 90 assertEqualIntA(a, 0, archive_write_header(a, ae)); in test_filename() 105 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, ae)); in test_filename() 107 assertEqualIntA(a, 0, archive_write_header(a, ae)); in test_filename()
|
H A D | test_write_format_cpio.c | 63 assertA(0 == archive_write_header(a, ae)); in test_format() 83 assertA(0 == archive_write_header(a, ae)); in test_format() 94 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in test_format() 105 assertEqualInt(ARCHIVE_FAILED, archive_write_header(a, ae)); in test_format() 115 assertEqualInt(ARCHIVE_FAILED, archive_write_header(a, ae)); in test_format() 125 assertEqualInt(ARCHIVE_FAILED, archive_write_header(a, ae)); in test_format() 138 assertA(0 == archive_write_header(a, ae)); in test_format() 151 assertA(0 == archive_write_header(a, ae)); in test_format() 263 assertEqualInt(expected, archive_write_header(a, ae)); in test_big_entries()
|
H A D | test_write_format_iso9660_empty.c | 79 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 89 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 99 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 109 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 119 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 129 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST()
|
H A D | test_write_disk_fixup.c | 65 assertEqualIntA(ad, 0, archive_write_header(ad, ae)); in DEFINE_TEST() 73 assertEqualIntA(ad, 0, archive_write_header(ad, ae)); in DEFINE_TEST() 83 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST() 94 assertEqualIntA(ad, 0, r = archive_write_header(ad, ae)); in DEFINE_TEST()
|
H A D | test_write_format_7zip.c | 69 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in test_basic() 84 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in test_basic() 100 assertEqualInt(0, archive_write_header(a, ae)); in test_basic() 118 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in test_basic() 135 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in test_basic() 147 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in test_basic() 162 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in test_basic() 177 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in test_basic() 360 assertEqualInt(0, archive_write_header(a, ae)); in test_basic2() 378 assertEqualInt(ARCHIVE_OK, archive_write_header( in test_basic2() [all...] |
H A D | test_write_format_tar_v7tar.c | 96 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 112 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 124 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 142 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 156 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, entry)); in DEFINE_TEST() 171 assertEqualIntA(a, ARCHIVE_FAILED, archive_write_header(a, entry)); in DEFINE_TEST()
|
H A D | test_write_read_format_zip.c | 60 assertEqualInt(0, archive_write_header(a, ae)); in write_contents() 73 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 85 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 104 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 115 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 135 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 148 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 160 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 173 assertEqualInt(ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 184 assertEqualIntA(a, ARCHIVE_OK, archive_write_header( in write_contents() [all...] |
H A D | test_write_format_tar_ustar.c | 102 archive_write_header(a, entry)); in DEFINE_TEST() 119 archive_write_header(a, entry)); in DEFINE_TEST() 132 archive_write_header(a, entry)); in DEFINE_TEST() 151 archive_write_header(a, entry)); in DEFINE_TEST() 168 archive_write_header(a, entry)); in DEFINE_TEST() 183 archive_write_header(a, entry)); in DEFINE_TEST() 198 archive_write_header(a, entry)); in DEFINE_TEST()
|
H A D | test_acl_pax.c | 241 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 245 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 249 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 256 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 352 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 356 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST() 360 assertA(0 == archive_write_header(a, ae)); in DEFINE_TEST()
|
H A D | test_write_format_gnutar.c | 125 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 136 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 148 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 158 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 170 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST()
|
H A D | test_pax_xattr_header.c | 65 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 84 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 103 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 121 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST()
|
H A D | test_write_format_raw.c | 52 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in test_format() 82 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in test_format() 90 assertEqualIntA(a, ARCHIVE_FATAL, archive_write_header(a, ae)); in test_format() 109 assertEqualIntA(a, ARCHIVE_FATAL, archive_write_header(a, ae)); in test_format()
|