From 1fc5606543f430386eea66c6d1600ae03b2929d2 Mon Sep 17 00:00:00 2001 From: Qiming Yang Date: Sat, 17 Nov 2018 01:04:00 +0800 Subject: [PATCH] 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 --- test/test/test_interrupts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1