forked from Imagelibrary/rtems
fsdosfsformat01: Add test for re-mount of a filesystem
This commit is contained in:
committed by
Gedare Bloom
parent
865c307242
commit
0098c5221d
@@ -83,6 +83,17 @@ static void test_disk_params(
|
|||||||
|
|
||||||
rv = unmount( mount_dir );
|
rv = unmount( mount_dir );
|
||||||
rtems_test_assert( 0 == rv );
|
rtems_test_assert( 0 == rv );
|
||||||
|
|
||||||
|
/* See if we can re-mount the file system */
|
||||||
|
rv = mount( dev_name,
|
||||||
|
mount_dir,
|
||||||
|
RTEMS_FILESYSTEM_TYPE_DOSFS,
|
||||||
|
RTEMS_FILESYSTEM_READ_WRITE,
|
||||||
|
NULL );
|
||||||
|
rtems_test_assert( 0 == rv );
|
||||||
|
|
||||||
|
rv = unmount( mount_dir );
|
||||||
|
rtems_test_assert( 0 == rv );
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_create_file(
|
static void test_create_file(
|
||||||
|
|||||||
Reference in New Issue
Block a user