/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_iso_Z.c | 37 assertEqualIntA(a, ARCHIVE_OK, in test1() 39 assertEqualIntA(a, ARCHIVE_OK, in test1() 41 assertEqualIntA(a, ARCHIVE_OK, in test1() 45 assertEqualIntA(a, ARCHIVE_OK, in test1() 47 assertEqualIntA(a, 1131434684, archive_entry_atime(ae)); in test1() 48 assertEqualIntA(a, 0, archive_entry_birthtime(ae)); in test1() 49 assertEqualIntA(a, 1131434684, archive_entry_ctime(ae)); in test1() 50 assertEqualIntA(a, 0, archive_entry_dev(ae)); in test1() 51 assertEqualIntA(a, AE_IFDIR, archive_entry_filetype(ae)); in test1() 52 assertEqualIntA(a, 0, archive_entry_gid(ae)); in test1() [all …]
|
H A D | test_read_format_zip.c | 112 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in verify_basic() 120 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in verify_basic() 121 assertEqualIntA(a, ARCHIVE_EOF, in verify_basic() 125 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in verify_basic() 133 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in verify_basic() 145 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in verify_basic() 150 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in verify_basic() 172 assertEqualIntA(a, ARCHIVE_FILTER_NONE, archive_filter_code(a, 0)); in verify_basic() 173 assertEqualIntA(a, ARCHIVE_FORMAT_ZIP, archive_format(a)); in verify_basic() 174 assertEqualIntA( in verify_basic() [all...] |
H A D | test_read_format_zip_filename.c | 45 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 46 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 52 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in DEFINE_TEST() 62 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in DEFINE_TEST() 65 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in DEFINE_TEST() 71 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in DEFINE_TEST() 75 assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); in DEFINE_TEST() 77 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in DEFINE_TEST() 80 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_write_filter_zstd.c | 56 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 65 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 69 assertEqualIntA(a, ARCHIVE_OK, archive_write_open_memory(a, buff, buffsize, &used1)); in DEFINE_TEST() 78 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 83 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in DEFINE_TEST() 87 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 93 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 95 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 105 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 114 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() [all …]
|
H A D | test_read_format_mtree.c | 55 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_mtree1() 57 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_mtree1() 59 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_mtree1() 61 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_mtree1() 71 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_read_format_mtree1() 81 …assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORT… in test_read_format_mtree1() 83 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_read_format_mtree1() 87 …assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORT… in test_read_format_mtree1() 89 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_read_format_mtree1() 92 …assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORT… in test_read_format_mtree1() [all …]
|
H A D | test_read_pax_truncated.c | 39 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_pax(a)); in DEFINE_TEST() 40 assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a)); in DEFINE_TEST() 41 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 58 assertEqualIntA(a, (int)filedata_size, in DEFINE_TEST() 62 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in DEFINE_TEST() 69 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 70 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 73 assertEqualIntA(a, ARCHIVE_FATAL, read_open_memory_minimal(a, buff, i, 13)); in DEFINE_TEST() 76 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_compat_zip.c | 36 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 37 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_zip(a)); in DEFINE_TEST() 39 assertEqualIntA(a, ARCHIVE_OK, archive_read_open_filename(a, name, 10240)); in DEFINE_TEST() 42 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in DEFINE_TEST() 52 assertEqualIntA(a, ARCHIVE_OK, r); in DEFINE_TEST() 55 assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); in DEFINE_TEST() 78 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 79 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_zip(a)); in DEFINE_TEST() 81 assertEqualIntA(a, ARCHIVE_OK, archive_read_open_filename(a, name, 10240)); in DEFINE_TEST() 84 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_read_format_cpio_filename.c | 45 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 46 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 52 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in DEFINE_TEST() 61 assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED); in DEFINE_TEST() 64 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in DEFINE_TEST() 68 assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED); in DEFINE_TEST() 72 assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); in DEFINE_TEST() 75 assertEqualIntA(a, ARCHIVE_FILTER_NONE, archive_filter_code(a, 0)); in DEFINE_TEST() 76 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_read_format_ustar_filename.c | 44 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in test_read_format_ustar_filename_eucJP_UTF8() 45 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in test_read_format_ustar_filename_eucJP_UTF8() 51 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_ustar_filename_eucJP_UTF8() 55 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_read_format_ustar_filename_eucJP_UTF8() 60 assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED); in test_read_format_ustar_filename_eucJP_UTF8() 63 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_read_format_ustar_filename_eucJP_UTF8() 67 assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED); in test_read_format_ustar_filename_eucJP_UTF8() 71 assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); in test_read_format_ustar_filename_eucJP_UTF8() 74 assertEqualIntA(a, ARCHIVE_FILTER_COMPRESS, archive_filter_code(a, 0)); in test_read_format_ustar_filename_eucJP_UTF8() 75 assertEqualIntA( in test_read_format_ustar_filename_eucJP_UTF8() [all...] |
H A D | test_read_format_tar_filename.c | 57 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_tar(a)); in test_read_format_tar_filename_KOI8R_CP866() 67 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in test_read_format_tar_filename_KOI8R_CP866() 68 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in test_read_format_tar_filename_KOI8R_CP866() 74 assertEqualIntA(a, ARCHIVE_OK, in test_read_format_tar_filename_KOI8R_CP866() 78 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_read_format_tar_filename_KOI8R_CP866() 83 assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED); in test_read_format_tar_filename_KOI8R_CP866() 86 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_read_format_tar_filename_KOI8R_CP866() 91 assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED); in test_read_format_tar_filename_KOI8R_CP866() 95 assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); in test_read_format_tar_filename_KOI8R_CP866() 98 assertEqualIntA( in test_read_format_tar_filename_KOI8R_CP866() [all...] |
H A D | test_read_format_rar.c | 43 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 73 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in DEFINE_TEST() 84 assertEqualIntA(a, 0, archive_read_data(a, buff, sizeof(buff))); in DEFINE_TEST() 86 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in DEFINE_TEST() 99 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in DEFINE_TEST() 110 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in DEFINE_TEST() 121 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in DEFINE_TEST() 126 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 156 assertEqualIntA(a, archive_read_has_encrypted_entries(a), 0); in DEFINE_TEST() 161 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_read_format_gtar_filename.c | 45 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 46 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 52 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in DEFINE_TEST() 62 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in DEFINE_TEST() 66 assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED); in DEFINE_TEST() 70 assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); in DEFINE_TEST() 73 assertEqualIntA(a, ARCHIVE_FILTER_COMPRESS, archive_filter_code(a, 0)); in DEFINE_TEST() 74 assertEqualIntA(a, ARCHIVE_FORMAT_TAR_GNUTAR, archive_format(a)); in DEFINE_TEST() 99 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_write_format_zip.c | 118 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 122 assertEqualIntA(a, 0, archive_write_data(a, "12345678", 9)); in write_contents() 128 assertEqualIntA(a, ARCHIVE_OK, archive_write_zip_set_compression_deflate(a)); in write_contents() 138 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 151 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 187 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 191 assertEqualIntA(a, 0, archive_write_data(a, "12345678", 9)); in write_contents() 192 assertEqualIntA(a, ARCHIVE_OK, archive_write_finish_entry(a)); in write_contents() 198 assertEqualIntA(a, ARCHIVE_OK, archive_write_zip_set_compression_store(a)); in write_contents() 257 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() [all …]
|
H A D | test_read_format_7zip.c | 50 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in test_copy() 51 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in test_copy() 54 assertEqualIntA(a, ARCHIVE_OK, in test_copy() 57 assertEqualIntA(a, ARCHIVE_OK, in test_copy() 62 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_copy() 75 assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); in test_copy() 78 assertEqualIntA(a, ARCHIVE_FILTER_NONE, archive_filter_code(a, 0)); in test_copy() 79 assertEqualIntA(a, ARCHIVE_FORMAT_7ZIP, archive_format(a)); in test_copy() 100 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in test_empty_archive() 101 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in test_empty_archive() [all …]
|
H A D | test_open_filename.c | 36 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in test_open_filename_mbs() 37 assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a)); in test_open_filename_mbs() 38 assertEqualIntA(a, ARCHIVE_OK, in test_open_filename_mbs() 49 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in test_open_filename_mbs() 51 assertEqualIntA(a, 8, archive_write_data(a, "12345678", 9)); in test_open_filename_mbs() 60 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in test_open_filename_mbs() 64 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in test_open_filename_mbs() 71 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in test_open_filename_mbs() 72 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in test_open_filename_mbs() 73 assertEqualIntA( in test_open_filename_mbs() [all...] |
H A D | test_write_filter_bzip2.c | 62 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 73 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 77 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 87 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 92 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in DEFINE_TEST() 96 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 97 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 98 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 107 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 115 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() [all …]
|
H A D | test_read_format_raw.c | 45 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 46 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 47 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_raw(a)); in DEFINE_TEST() 48 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 52 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in DEFINE_TEST() 60 assertEqualIntA(a, archive_read_has_encrypted_entries(a), ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED); in DEFINE_TEST() 65 assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); in DEFINE_TEST() 66 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 73 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 74 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_pax_xattr_header.c | 60 assertEqualIntA(a, 0, archive_write_set_format_pax(a)); in DEFINE_TEST() 61 assertEqualIntA(a, 0, archive_write_add_filter_none(a)); in DEFINE_TEST() 65 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 67 assertEqualIntA(a, 8, archive_write_data(a, "12345678", 9)); in DEFINE_TEST() 69 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in DEFINE_TEST() 70 assertEqualIntA(a, ARCHIVE_OK, archive_write_free(a)); in DEFINE_TEST() 76 assertEqualIntA(a, 0, archive_write_set_format_pax(a)); in DEFINE_TEST() 77 assertEqualIntA(a, 0, archive_write_add_filter_none(a)); in DEFINE_TEST() 78 assertEqualIntA(a, 0, archive_write_set_options(a, in DEFINE_TEST() 84 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_write_format_warc.c | 31 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_none(a)); in test_read() 32 assertEqualIntA(a, ARCHIVE_OK, archive_read_open_memory(a, buff, used)); in test_read() 34 assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae)); in test_read() 35 assertEqualIntA(a, 9, archive_read_data(a, filedata, 10)); in test_read() 37 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in test_read() 54 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_warc(a)); in DEFINE_TEST() 55 assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a)); in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 66 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 68 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_write_read_format_zip.c | 115 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 119 assertEqualIntA(a, 0, archive_write_data(a, "12345678", 9)); in write_contents() 125 assertEqualIntA(a, ARCHIVE_OK, archive_write_zip_set_compression_deflate(a)); 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() 184 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in write_contents() 188 assertEqualIntA(a, 0, archive_write_data(a, "12345678", 9)); in write_contents() 189 assertEqualIntA(a, ARCHIVE_OK, archive_write_finish_entry(a)); in write_contents() 195 assertEqualIntA(a, ARCHIVE_OK, archive_write_zip_set_compression_store(a)); in write_contents() 254 assertEqualIntA( in write_contents() [all...] |
H A D | test_read_truncated.c | 39 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 40 assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a)); in DEFINE_TEST() 41 assertEqualIntA(a, ARCHIVE_OK, archive_write_open_memory(a, buff, sizeof(buff), &used)); in DEFINE_TEST() 51 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 53 assertEqualIntA(a, sizeof(buff2), archive_write_data(a, buff2, sizeof(buff2))); in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in DEFINE_TEST() 63 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 64 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); in DEFINE_TEST() 66 assertEqualIntA(a, ARCHIVE_FATAL, archive_read_open_memory(a, buff, i)); in DEFINE_TEST() 69 assertEqualIntA( in DEFINE_TEST() [all...] |
H A D | test_write_filter_xz.c | 62 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 71 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 75 assertEqualIntA(a, ARCHIVE_OK, archive_write_open_memory(a, buff, buffsize, &used1)); in DEFINE_TEST() 84 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 89 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in DEFINE_TEST() 93 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 99 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 101 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 111 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 120 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() [all …]
|
H A D | test_write_filter_lzip.c | 62 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 71 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 75 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 85 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 90 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in DEFINE_TEST() 94 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 100 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 102 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 112 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 121 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() [all …]
|
H A D | test_write_filter_lzma.c | 61 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 70 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 74 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 84 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 89 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in DEFINE_TEST() 93 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 99 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 101 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 111 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() 120 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() [all …]
|
H A D | test_write_filter_lz4.c | 71 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 72 assertEqualIntA(a, (use_prog)?ARCHIVE_WARN:ARCHIVE_OK, in DEFINE_TEST() 74 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 76 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 80 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 88 assertEqualIntA(a, ARCHIVE_OK, archive_write_header(a, ae)); in DEFINE_TEST() 93 assertEqualIntA(a, ARCHIVE_OK, archive_write_close(a)); in DEFINE_TEST() 97 assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); in DEFINE_TEST() 106 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 116 assertEqualIntA(a, ARCHIVE_OK, archive_read_close(a)); in DEFINE_TEST() [all …]
|