summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/fsdosfsformat01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/fstests/fsdosfsformat01/init.c')
-rw-r--r--testsuites/fstests/fsdosfsformat01/init.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/testsuites/fstests/fsdosfsformat01/init.c b/testsuites/fstests/fsdosfsformat01/init.c
index cb8a5eae44..976dc9cb7d 100644
--- a/testsuites/fstests/fsdosfsformat01/init.c
+++ b/testsuites/fstests/fsdosfsformat01/init.c
@@ -18,11 +18,6 @@
#include "tmacros.h"
-#include <bsp.h>
-
-const char rtems_test_name[] = "FSDOSFSFORMAT 1";
-
-#if !defined(BSP_SMALL_MEMORY)
#include <fcntl.h>
#include <inttypes.h>
#include <sys/statvfs.h>
@@ -31,6 +26,10 @@ const char rtems_test_name[] = "FSDOSFSFORMAT 1";
#include <rtems/dosfs.h>
#include <rtems/sparse-disk.h>
+#include <bsp.h>
+
+const char rtems_test_name[] = "FSDOSFSFORMAT 1";
+
#define MAX_PATH_LENGTH 100 /* Maximum number of characters per path */
#define SECTOR_SIZE 512 /* sector size (bytes) */
#define FAT12_MAX_CLN 4085 /* maximum + 1 number of clusters for FAT12 */
@@ -471,17 +470,12 @@ static void test( void )
rv = unlink( dev_name );
rtems_test_assert( rv == 0 );
}
-#endif
static void Init( rtems_task_argument arg )
{
TEST_BEGIN();
-#if defined(BSP_SMALL_MEMORY)
- puts( "Test is too large for small memory BSPs" );
-#else
test();
-#endif
TEST_END();
rtems_test_exit( 0 );