Files
libiscsi/tests/Makefile.am
Ronnie Sahlberg 0630aa5ef0 Timeouts: Fix bugs in scsi task timeout code
Add a test to verify the pdu timeout handling.
Fix numerous bugs in the timeout handling. It was really broken.

Add test for non-SCSI task PDUs too and verify they works.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-05-24 14:34:06 -07:00

19 lines
448 B
Makefile

AM_CPPFLAGS = -I../include "-D_U_=__attribute__((unused))" \
"-D_R_(A,B)=__attribute__((format(printf,A,B)))"
AM_CFLAGS = $(WARN_CFLAGS)
LDADD = ../lib/libiscsi.la
noinst_PROGRAMS = prog_reconnect prog_reconnect_timeout prog_noop_reply \
prog_timeout
T = `ls test_*.sh`
test: $(noinst_PROGRAMS)
for TEST in $(T); do \
echo "Running $$TEST"; \
echo "--------------"; \
sh $$TEST || exit 1; \
echo "--------------"; \
echo; \
done