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)
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

index dc19175..4e82e9a 100644 (file)
@@ -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;