From ab600e39b0ad660966c3b710f650cbd2fc2b0078 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sun, 25 Aug 2013 15:26:36 -0700 Subject: [PATCH] TESTS: Fixes to the WRITESAME tests --- test-tool/test_writesame10_unmap_vpd.c | 2 -- test-tool/test_writesame16_unmap_vpd.c | 1 - 2 files changed, 3 deletions(-) diff --git a/test-tool/test_writesame10_unmap_vpd.c b/test-tool/test_writesame10_unmap_vpd.c index 6996386..ea408d4 100644 --- a/test-tool/test_writesame10_unmap_vpd.c +++ b/test-tool/test_writesame10_unmap_vpd.c @@ -38,12 +38,10 @@ test_writesame10_unmap_vpd(void) CHECK_FOR_SBC; logging(LOG_VERBOSE, "Check if WRITESAME10 can be used for UNMAP."); - logging(LOG_VERBOSE, "Unmap 1 block using WRITESAME10"); ret = writesame10(iscsic, tgt_lun, 0, block_size, 1, 0, 1, 0, 0, NULL); - CU_ASSERT_EQUAL(ret, 0); if (ret != 0) { logging(LOG_VERBOSE, "WRITESAME10 UNMAP is not available. " diff --git a/test-tool/test_writesame16_unmap_vpd.c b/test-tool/test_writesame16_unmap_vpd.c index f21fb69..4d9e805 100644 --- a/test-tool/test_writesame16_unmap_vpd.c +++ b/test-tool/test_writesame16_unmap_vpd.c @@ -43,7 +43,6 @@ test_writesame16_unmap_vpd(void) ret = writesame16(iscsic, tgt_lun, 0, block_size, 1, 0, 1, 0, 0, NULL); - CU_ASSERT_EQUAL(ret, 0); if (ret != 0) { logging(LOG_VERBOSE, "WRITESAME16 UNMAP is not available. "