From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2DA8145C9F for ; Thu, 7 Nov 2024 15:09:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C18684300D; Thu, 7 Nov 2024 15:09:32 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id EF4F443289 for ; Thu, 7 Nov 2024 15:09:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730988571; x=1762524571; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PmsIdtS7Afx3ze2ttMXM8mErx7u5Z+Bkau0RCU/ndBQ=; b=ZQmpaOxcCXRxtgikDxsiMYncoeWUT75SVGjdUNrWw21v6/LR/fY4nFCM lUl1BITtRHXOxnD8DQZnRMoCNHmRjhmZaj0V9caPpmUDCHg+eseK5pR9j 7K0MyAKUUUXEPliCLjczt1f2I+pqY8hvzzT5M19VDn7+pAfA3iJc1CqOT RnQolxhyPrcSRYCmKIKiuK0hyJ+58ybRuwjtsyRnCb6CzeuJcIFiTUfJm Hf5ue0qc32q28dWxe4/i6oRUuz4Rnc4bHJLOCjUY4LPGtNcq9sN0BuVdw 0jzb4JBlCpK+GdP/yroL1arXtBoZbnaDO/+lk+lDOyTASRWEU/ya9F4xb g==; X-CSE-ConnectionGUID: cfA6dmCwRwyoEFRhkup4jg== X-CSE-MsgGUID: mWqDzmevQVaOSbApZBT2yQ== X-IronPort-AV: E=McAfee;i="6700,10204,11249"; a="34608395" X-IronPort-AV: E=Sophos;i="6.12,266,1728975600"; d="scan'208";a="34608395" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2024 06:09:30 -0800 X-CSE-ConnectionGUID: coyH0KEiQ1G/pLxtaQUPSg== X-CSE-MsgGUID: OPP6wV+IT/qhWkSvawRUIQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,266,1728975600"; d="scan'208";a="122608125" Received: from silpixa00400886.ir.intel.com ([10.243.22.139]) by orviesa001.jf.intel.com with ESMTP; 07 Nov 2024 06:09:29 -0800 From: Brian Dooley To: Akhil Goyal , Fan Zhang Cc: stable@dpdk.org, Brian Dooley Subject: [PATCH] test/crypto: fix callback setup tests Date: Thu, 7 Nov 2024 14:09:26 +0000 Message-Id: <20241107140926.4937-1-brian.dooley@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org The test_deq_callback_setup and test_enq_callback_setup tests are asserting the incorrect case and need to be reversed to reflect correct callbacks being called. Fixes: 4fe42b5bd587 ("test/crypto: fix enqueue/dequeue callback case") Signed-off-by: Brian Dooley --- app/test/test_cryptodev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 6cd38aefae..005d3a87f9 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -13727,7 +13727,7 @@ test_enq_callback_setup(void) "qp %u on cryptodev %u", qp_id, ts_params->valid_devs[0]); - TEST_ASSERT(deq_cb_called == true, "Crypto dequeue callback not called"); + TEST_ASSERT(enq_cb_called == true, "Crypto enqueue callback not called"); return TEST_SUCCESS; } @@ -13848,7 +13848,7 @@ test_deq_callback_setup(void) "qp %u on cryptodev %u", qp_id, ts_params->valid_devs[0]); - TEST_ASSERT(enq_cb_called == true, "Crypto enqueue callback not called"); + TEST_ASSERT(deq_cb_called == true, "Crypto dequeue callback not called"); return TEST_SUCCESS; } -- 2.25.1