TESTS: WRITE16 is optional so update the tests to allow WRITE16 to be missing and just make the test be [SKIPPED]

This commit is contained in:
Ronnie Sahlberg
2013-04-23 21:15:28 -07:00
parent d280ce8ad7
commit ee666ae451
7 changed files with 67 additions and 0 deletions

View File

@@ -41,6 +41,11 @@ test_write16_beyond_eol(void)
i * block_size, block_size,
0, 0, 0, 0, 0, buf);
free(buf);
if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] WRITE16 is not implemented.");
CU_PASS("WRITE16 is not implemented.");
return;
}
CU_ASSERT_EQUAL(ret, 0);
}