1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
|
AM_CPPFLAGS=-I. -I${srcdir}/../include
AM_CFLAGS=$(WARN_CFLAGS)
AM_LDFLAGS=-no-undefined
LIBS = ../lib/libiscsipriv.la
EXTRA_DIST = README
dist_noinst_HEADERS = iscsi-support.h \
test_write_residuals.h \
iscsi-test-cu.h iscsi-multipath.h
# libiscsi test tool using cunit
if ISCSITEST
bin_PROGRAMS = iscsi-test-cu
iscsi_test_cu_LDADD = -ldl -lcunit
iscsi_test_cu_SOURCES = iscsi-test-cu.c \
iscsi-support.c \
iscsi-multipath.c \
test_compareandwrite_simple.c \
test_compareandwrite_dpofua.c \
test_compareandwrite_miscompare.c \
test_compareandwrite_unwritten.c \
test_compareandwrite_invalid_dataout_size.c \
test_extendedcopy_simple.c \
test_extendedcopy_param.c \
test_extendedcopy_descr_limits.c \
test_extendedcopy_descr_type.c \
test_extendedcopy_validate_tgt_descr.c \
test_extendedcopy_validate_seg_descr.c \
test_get_lba_status_simple.c \
test_get_lba_status_beyond_eol.c \
test_get_lba_status_unmap_single.c \
test_inquiry_alloc_length.c \
test_inquiry_block_limits.c \
test_inquiry_evpd.c \
test_inquiry_mandatory_vpd_sbc.c \
test_inquiry_standard.c \
test_inquiry_supported_vpd.c \
test_inquiry_version_descriptors.c \
test_iscsi_cmdsn_toohigh.c \
test_iscsi_cmdsn_toolow.c \
test_iscsi_datasn_invalid.c \
test_iscsi_sendtargets.c \
test_iscsi_nop_simple.c \
test_iscsi_chap.c \
test_mandatory_sbc.c \
test_modesense6_all_pages.c \
test_modesense6_control.c \
test_modesense6_control_d_sense.c \
test_modesense6_control_swp.c \
test_modesense6_residuals.c \
test_nomedia_sbc.c \
test_orwrite_simple.c \
test_orwrite_beyond_eol.c \
test_orwrite_0blocks.c \
test_orwrite_wrprotect.c \
test_orwrite_dpofua.c \
test_orwrite_verify.c \
test_prefetch10_simple.c \
test_prefetch10_beyond_eol.c \
test_prefetch10_0blocks.c \
test_prefetch10_flags.c \
test_prefetch16_simple.c \
test_prefetch16_beyond_eol.c \
test_prefetch16_0blocks.c \
test_prefetch16_flags.c \
test_preventallow_simple.c \
test_preventallow_eject.c \
test_preventallow_itnexus_loss.c \
test_preventallow_logout.c \
test_preventallow_warm_reset.c \
test_preventallow_cold_reset.c \
test_preventallow_lun_reset.c \
test_preventallow_2_itnexuses.c \
test_prin_read_keys_simple.c \
test_prin_read_keys_truncate.c \
test_prin_serviceaction_range.c \
test_prin_report_caps.c \
test_prout_register_simple.c \
test_prout_reserve_simple.c \
test_prout_reserve_access.c \
test_prout_reserve_ownership.c \
test_prout_clear_simple.c \
test_prout_preempt.c \
test_read6_simple.c \
test_read6_beyond_eol.c \
test_read10_simple.c \
test_read10_beyond_eol.c \
test_read10_0blocks.c \
test_read10_rdprotect.c \
test_read10_dpofua.c \
test_read10_residuals.c \
test_read10_invalid.c \
test_read12_simple.c \
test_read12_beyond_eol.c \
test_read12_0blocks.c \
test_read12_rdprotect.c \
test_read12_dpofua.c \
test_read12_residuals.c \
test_read16_simple.c \
test_read16_beyond_eol.c \
test_read16_0blocks.c \
test_read16_rdprotect.c \
test_read16_dpofua.c \
test_read16_residuals.c \
test_readcapacity10_simple.c \
test_readcapacity16_alloclen.c \
test_readcapacity16_protection.c \
test_readcapacity16_simple.c \
test_readcapacity16_support.c \
test_readdefectdata10_simple.c \
test_readdefectdata12_simple.c \
test_readonly_sbc.c \
test_receive_copy_results_copy_status.c \
test_receive_copy_results_op_params.c \
test_report_luns.c \
test_report_supported_opcodes_one_command.c \
test_report_supported_opcodes_rctd.c \
test_report_supported_opcodes_servactv.c \
test_report_supported_opcodes_simple.c \
test_reserve6_simple.c \
test_reserve6_2initiators.c \
test_reserve6_logout.c \
test_reserve6_itnexus_loss.c \
test_reserve6_target_warm_reset.c \
test_reserve6_target_cold_reset.c \
test_reserve6_lun_reset.c \
test_sanitize_block_erase.c \
test_sanitize_block_erase_reserved.c \
test_sanitize_crypto_erase.c \
test_sanitize_crypto_erase_reserved.c \
test_sanitize_exit_failure_mode.c \
test_sanitize_invalid_serviceaction.c \
test_sanitize_overwrite.c \
test_sanitize_overwrite_reserved.c \
test_sanitize_readonly.c \
test_sanitize_reservations.c \
test_sanitize_reset.c \
test_startstopunit_simple.c \
test_startstopunit_pwrcnd.c \
test_startstopunit_noloej.c \
test_testunitready_simple.c \
test_unmap_simple.c \
test_unmap_0blocks.c \
test_unmap_vpd.c \
test_verify10_simple.c \
test_verify10_beyond_eol.c \
test_verify10_0blocks.c \
test_verify10_vrprotect.c \
test_verify10_flags.c \
test_verify10_dpo.c \
test_verify10_mismatch.c \
test_verify10_mismatch_no_cmp.c \
test_verify12_simple.c \
test_verify12_beyond_eol.c \
test_verify12_0blocks.c \
test_verify12_vrprotect.c \
test_verify12_flags.c \
test_verify12_dpo.c \
test_verify12_mismatch.c \
test_verify12_mismatch_no_cmp.c \
test_verify16_simple.c \
test_verify16_beyond_eol.c \
test_verify16_0blocks.c \
test_verify16_vrprotect.c \
test_verify16_flags.c \
test_verify16_dpo.c \
test_verify16_mismatch.c \
test_verify16_mismatch_no_cmp.c \
test_write10_simple.c \
test_write10_beyond_eol.c \
test_write10_0blocks.c \
test_write10_wrprotect.c \
test_write10_dpofua.c \
test_write10_residuals.c \
test_write12_simple.c \
test_write12_beyond_eol.c \
test_write12_0blocks.c \
test_write12_wrprotect.c \
test_write12_dpofua.c \
test_write12_residuals.c \
test_write16_simple.c \
test_write16_beyond_eol.c \
test_write16_0blocks.c \
test_write16_wrprotect.c \
test_write16_dpofua.c \
test_write16_residuals.c \
test_writeatomic16_simple.c \
test_writeatomic16_beyond_eol.c \
test_writeatomic16_0blocks.c \
test_writeatomic16_wrprotect.c \
test_writeatomic16_dpofua.c \
test_writeatomic16_vpd.c \
test_writesame10_simple.c \
test_writesame10_beyond_eol.c \
test_writesame10_0blocks.c \
test_writesame10_wrprotect.c \
test_writesame10_unmap.c \
test_writesame10_unmap_unaligned.c \
test_writesame10_unmap_until_end.c \
test_writesame10_unmap_vpd.c \
test_writesame10_check.c \
test_writesame10_invalid_dataout_size.c \
test_writesame16_simple.c \
test_writesame16_beyond_eol.c \
test_writesame16_0blocks.c \
test_writesame16_wrprotect.c \
test_writesame16_unmap.c \
test_writesame16_unmap_unaligned.c \
test_writesame16_unmap_until_end.c \
test_writesame16_unmap_vpd.c \
test_writesame16_check.c \
test_writesame16_invalid_dataout_size.c \
test_writeverify10_simple.c \
test_writeverify10_beyond_eol.c \
test_writeverify10_0blocks.c \
test_writeverify10_wrprotect.c \
test_writeverify10_flags.c \
test_writeverify10_dpo.c \
test_writeverify10_residuals.c \
test_writeverify12_simple.c \
test_writeverify12_beyond_eol.c \
test_writeverify12_0blocks.c \
test_writeverify12_wrprotect.c \
test_writeverify12_flags.c \
test_writeverify12_dpo.c \
test_writeverify12_residuals.c \
test_writeverify16_simple.c \
test_writeverify16_beyond_eol.c \
test_writeverify16_0blocks.c \
test_writeverify16_wrprotect.c \
test_writeverify16_flags.c \
test_writeverify16_dpo.c \
test_writeverify16_residuals.c \
test_multipathio_simple.c \
test_multipathio_reset.c \
test_multipathio_compareandwrite.c \
test_multipathio_async_caw.c \
test_async_read.c \
test_async_write.c \
test_async_abort_simple.c \
test_async_lu_reset_simple.c \
test_write_residuals.c
endif
|