test: fix interrupt check
authorQiming Yang <qiming.yang@intel.com>
Fri, 16 Nov 2018 17:04:00 +0000 (01:04 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 18 Nov 2018 22:14:38 +0000 (23:14 +0100)
commit1fc5606543f430386eea66c6d1600ae03b2929d2
tree128099de55438612ee50789eee56b32800286417
parent651cc78f83b53743fcf265bbb35579ab44871dfd
test: fix interrupt check

Fixed the interrupt type using error.
Check valid alarm should use TEST_INTERRUPT_HANDLE_VALID_ALARM.

Fixes: 493b8e173fe6 ("eal: add device event handle in interrupt thread")
Cc: stable@dpdk.org
Signed-off-by: Qiming Yang <qiming.yang@intel.com>
test/test/test_interrupts.c