[rtems commit] misc fstests: Remove spaces at EOL

Joel Sherrill joel at rtems.org
Mon Oct 1 20:36:24 UTC 2012


Module:    rtems
Branch:    master
Commit:    35c58a566205e429b3b67803d6ad54db974a6d81
Changeset: http://git.rtems.org/rtems/commit/?id=35c58a566205e429b3b67803d6ad54db974a6d81

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Sep 28 14:04:08 2012 -0500

misc fstests: Remove spaces at EOL

---

 testsuites/fstests/Makefile.am                     |    2 +-
 testsuites/fstests/fsfpathconf/fsfpathconf.doc     |    3 +--
 testsuites/fstests/fsfpathconf/test.c              |    9 ++++-----
 testsuites/fstests/fsfseeko01/init.c               |    2 +-
 testsuites/fstests/fsrfsbitmap01/fsrfsbitmap01.doc |    3 +--
 testsuites/fstests/fsrfsbitmap01/test.c            |   18 ++++++++----------
 6 files changed, 16 insertions(+), 21 deletions(-)

diff --git a/testsuites/fstests/Makefile.am b/testsuites/fstests/Makefile.am
index 78c5fff..386f221 100644
--- a/testsuites/fstests/Makefile.am
+++ b/testsuites/fstests/Makefile.am
@@ -1,6 +1,6 @@
 ACLOCAL_AMFLAGS = -I ../aclocal
 
-SUBDIRS = 
+SUBDIRS =
 SUBDIRS += fsfseeko01
 SUBDIRS += fsdosfssync01
 SUBDIRS += imfs_fserror
diff --git a/testsuites/fstests/fsfpathconf/fsfpathconf.doc b/testsuites/fstests/fsfpathconf/fsfpathconf.doc
index 92af03b..d364334 100644
--- a/testsuites/fstests/fsfpathconf/fsfpathconf.doc
+++ b/testsuites/fstests/fsfpathconf/fsfpathconf.doc
@@ -1,4 +1,4 @@
-#  COPYRIGHT (c) 2012-. 
+#  COPYRIGHT (c) 2012-.
 #  Krzysztof Miesowicz krzysztof.miesowicz at gmail.com
 #
 #  The license and distribution terms for this file may be
@@ -13,7 +13,6 @@ test set name:  fsfpathconf
 directives:
 
   + fpathconf
- 
 
 concepts:
 
diff --git a/testsuites/fstests/fsfpathconf/test.c b/testsuites/fstests/fsfpathconf/test.c
index a375d09..7c4eecc 100644
--- a/testsuites/fstests/fsfpathconf/test.c
+++ b/testsuites/fstests/fsfpathconf/test.c
@@ -1,7 +1,7 @@
-/* 
+/*
  *  COPYRIGHT (c) 2012 - .
  *  Krzysztof Miesowicz krzysztof.miesowicz at gmail.com
- *  
+ *
  *  The license and distribution terms for this file may be
  *  found in the file LICENSE in this distribution or at
  *  http://www.rtems.com/license/LICENSE.
@@ -23,7 +23,7 @@
 #include <rtems/error.h>
 #include <ctype.h>
 #include <rtems/libcsupport.h>
- 
+
 #include "fstest.h"
 #include "tmacros.h"
 
@@ -77,7 +77,7 @@ static void fpathconf_test(void){
 
     close(fd);
     fd = open("testfile.test", O_WRONLY);
-    
+
     rv = fpathconf(fd, _PC_LINK_MAX);
   }
 }
@@ -87,7 +87,6 @@ void test(void){
   puts("\n\n*** FPATHCONF TEST ***" );
   fpathconf_test();
   puts( "\n*** END OF FPATHCONF TEST ***" );
-
 }
 
 /* end of file */
diff --git a/testsuites/fstests/fsfseeko01/init.c b/testsuites/fstests/fsfseeko01/init.c
index b6de9a5..20797b5 100644
--- a/testsuites/fstests/fsfseeko01/init.c
+++ b/testsuites/fstests/fsfseeko01/init.c
@@ -32,7 +32,7 @@ static void test(void)
     ? INT64_MAX
     : (sizeof(off_t) == sizeof(int32_t) ? INT32_MAX : 1);
   off_t actual_off;
- 
+
   errno = 0;
   file = fopen("file", "w+");
   perror("fopen");
diff --git a/testsuites/fstests/fsrfsbitmap01/fsrfsbitmap01.doc b/testsuites/fstests/fsrfsbitmap01/fsrfsbitmap01.doc
index 57dcbcb..c2fd74d 100644
--- a/testsuites/fstests/fsrfsbitmap01/fsrfsbitmap01.doc
+++ b/testsuites/fstests/fsrfsbitmap01/fsrfsbitmap01.doc
@@ -1,4 +1,4 @@
-#  COPYRIGHT (c) 2012-. 
+#  COPYRIGHT (c) 2012-.
 #  Krzysztof Miesowicz krzysztof.miesowicz at gmail.com
 #
 #  The license and distribution terms for this file may be
@@ -21,7 +21,6 @@ directives:
   + rtems_rfs_bitmap_map_set
   + rtems_rfs_bitmap_map_set_all
   + rtems_rfs_bitmap_map_test
- 
 
 concepts:
 
diff --git a/testsuites/fstests/fsrfsbitmap01/test.c b/testsuites/fstests/fsrfsbitmap01/test.c
index f02c8df..723a0dd 100644
--- a/testsuites/fstests/fsrfsbitmap01/test.c
+++ b/testsuites/fstests/fsrfsbitmap01/test.c
@@ -4,7 +4,7 @@
  *
  *  This test is extended version of rtems-rfs-bimaps-ut.c . Most of this code
  *  was written by Chris Johns in rtems-rfs-bitmaps-ut.c and is copied
- *  and pasted here. Rest of this test was written by Krzysztof Miesowicz to 
+ *  and pasted here. Rest of this test was written by Krzysztof Miesowicz to
  *  completely cover rtems_rfs_bitmap_* symbols.
  *
  *  The license and distribution terms for this file may be
@@ -191,7 +191,7 @@ rtems_rfs_bitmap_ut_test_bitmap (size_t size)
     free (buffer.buffer);
     return;
   }
-  
+
   /*
    * This is a new bitmap with no bits set. Try and find a bit with a few
    * seeds.
@@ -233,7 +233,7 @@ rtems_rfs_bitmap_ut_test_bitmap (size_t size)
 
   if (!rtems_rfs_bitmap_ut_test_range (&control, 7, false, 1, size - 2))
     rtems_rfs_exit_on_error (0, !result, &control, buffer.buffer);
-  
+
   /*
    * Set all bits then clear one and find it.
    */
@@ -452,7 +452,7 @@ void nullpointer_test(void){
   rtems_rfs_bitmap_bit	seed_bit = 0;
   int rc;
   bool result;
-  
+
   printf("\n Testing bitmap_map functions with NULL bitmap control " 			"pointer\n");
   /* Invoke all functions with NULL control */
   rc = rtems_rfs_bitmap_map_set(control, bit);
@@ -469,10 +469,10 @@ void nullpointer_test(void){
   rtems_test_assert(rc>0);
   rc = rtems_rfs_bitmap_map_alloc(control, seed_bit, &result, &bit);
   rtems_test_assert(!result);
-  /* 
+  /*
    * Invoke map_alloc with not-null pointer to control, but with
    * control uninitialized. It is to cover check in rtems_rfs_bitmap_load_map.
-   * We can't check directly if it goes this path, but we will see this in 
+   * We can't check directly if it goes this path, but we will see this in
    * coverage
    */
   rc = rtems_rfs_bitmap_map_set(&notnullcontrol, bit);
@@ -492,7 +492,7 @@ void open_failure(void){
   printf("\n Allocate most of memory - attempt to fail while open bitmap - expect ENOMEM\n" );
   void *opaque;
   static const uintptr_t location_size [] = {
-    sizeof(rtems_filesystem_global_location_t)    
+    sizeof(rtems_filesystem_global_location_t)
   };
 
   size_t size = location_size[0]*rtems_rfs_bitmap_search_element_bits();
@@ -526,12 +526,10 @@ void open_failure(void){
 
 void test(void){
   puts("\n START of RFS Bitmap Unit Test");
-  
+
   rtems_rfs_bitmap_unit_test();
   nullpointer_test();
   open_failure();
 
   puts("\n END of RFS Bitmap Unit Test");
 }
-
-




More information about the vc mailing list