From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id A94B42B84 for ; Fri, 16 Nov 2018 10:38:15 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Nov 2018 01:38:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,239,1539673200"; d="scan'208";a="89803087" Received: from dpdk-qiming2.sh.intel.com ([10.67.119.132]) by orsmga007.jf.intel.com with ESMTP; 16 Nov 2018 01:38:14 -0800 From: Qiming Yang To: dev@dpdk.org Cc: Qiming Yang Date: Sat, 17 Nov 2018 01:04:00 +0800 Message-Id: <20181116170400.76667-1-qiming.yang@intel.com> X-Mailer: git-send-email 2.9.5 Subject: [dpdk-dev] [PATCH] test: fixed uncorrect interrupt type X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 09:38:16 -0000 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") 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 dc19175..4e82e9a 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.9.5