Merge pull request #84 from chetansinghrathore/ew_beta0
Test#14: Fixed the length of read and write buffer
diff --git a/api-tests/dev_apis/protected_storage/test_p014/test_p014.c b/api-tests/dev_apis/protected_storage/test_p014/test_p014.c
index ea60c5d..a6e74f1 100644
--- a/api-tests/dev_apis/protected_storage/test_p014/test_p014.c
+++ b/api-tests/dev_apis/protected_storage/test_p014/test_p014.c
@@ -48,7 +48,7 @@
/* Create a valid storage using set API */
val->print(PRINT_TEST, "[Check 2] Create valid storage with set API\n", 0);
- status = SST_FUNCTION(p014_data[3].api, p_uid, TEST_BUFF_SIZE, write_buff, 0);
+ status = SST_FUNCTION(p014_data[3].api, p_uid, TEST_BUFF_SIZE/4, write_buff, 0);
TEST_ASSERT_EQUAL(status, p014_data[3].status, TEST_CHECKPOINT_NUM(3));
/* Partial data write with set_extended API should fail */
@@ -58,7 +58,7 @@
/* Call the get function to match the data */
val->print(PRINT_TEST, "[Check 4] Verify data is unchanged\n", 0);
- status = SST_FUNCTION(p014_data[5].api, p_uid, 0, TEST_BUFF_SIZE, read_buff);
+ status = SST_FUNCTION(p014_data[5].api, p_uid, 0, TEST_BUFF_SIZE/4, read_buff);
TEST_ASSERT_EQUAL(status, p014_data[5].status, TEST_CHECKPOINT_NUM(5));
TEST_ASSERT_MEMCMP(read_buff, write_buff, TEST_BUFF_SIZE/4, TEST_CHECKPOINT_NUM(6));