From 08debc286839353dd5cba39d527214589686702e Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 13 Nov 2018 16:30:27 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12417 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- test/mfs/configuration.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) (limited to 'test/mfs/configuration.xml') diff --git a/test/mfs/configuration.xml b/test/mfs/configuration.xml index a222033f8..efc7b5b04 100644 --- a/test/mfs/configuration.xml +++ b/test/mfs/configuration.xml @@ -385,10 +385,10 @@ test_assert(err == MFS_ERR_NOT_FOUND, "record not erased");]]> - Erasing the whole storage. + Erasing the whole storage and re-initialization. - The managed storage is erased and re-initialized. + The managed storage is erased, initialized and re-mounted. @@ -425,6 +425,52 @@ err = mfsWriteRecord(&mfs1, 3, sizeof pattern3, pattern3); test_assert(err == MFS_NO_ERROR, "error creating record 3");]]> + + + Records must exist. + + + + + + + + + + + Re-mounting, records must still exist. + + + + + + + + Erasing storage and verify that the records have been removed, MFS_NO_ERROR is expected on erase, MFS_ERR_NOT_FOUND is expected on retrieve. -- cgit v1.2.3