TESTS: Dont try to eject the media if preventallow is not supported

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2015-09-19 16:29:29 -07:00
parent e725788eeb
commit fae0d70260
3 changed files with 10 additions and 1 deletions

View File

@@ -44,7 +44,6 @@ test_preventallow_itnexus_loss(void)
}
logging(LOG_VERBOSE, "Set the PREVENT flag");
ret = preventallow(sd, 1);
CU_ASSERT_EQUAL(ret, 0);
logging(LOG_VERBOSE, "Try to eject the medium");