From: Qiming Yang Date: Fri, 16 Nov 2018 17:04:00 +0000 (+0800) Subject: test: fix interrupt check X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1fc5606543f430386eea66c6d1600ae03b2929d2;p=dpdk.git 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 --- diff --git a/test/test/test_interrupts.c b/test/test/test_interrupts.c index dc19175d3c..4e82e9a22d 100644 --- a/test/test/test_interrupts.c +++ b/test/test/test_interrupts.c @@ -424,7 +424,7 @@ test_interrupt(void) printf("Check valid alarm interrupt full path\n"); if (test_interrupt_full_path_check( - TEST_INTERRUPT_HANDLE_VALID_DEV_EVENT) < 0) { + TEST_INTERRUPT_HANDLE_VALID_ALARM) < 0) { printf("failure occurred during checking valid alarm " "interrupt full path\n"); goto out;