[haiku-commits] haiku: hrev48197 - in src/tests/system/libroot/posix/posixtestsuite: conformance/interfaces stress/threads stress/threads/pthread_cond_timedwait stress/threads/pthread_mutex_lock stress/threads/pthread_cond_init

  • From: mmlr@xxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 1 Nov 2014 15:53:02 +0100 (CET)

hrev48197 adds 1 changeset to branch 'master'
old head: 91e3b80197cfa6b624c216ce61298ce1463ba4f8
new head: f00353a519a2a7642563092f6622f488e96d4e01
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=f00353a+%5E91e3b80

----------------------------------------------------------------------------

f00353a: posixtestsuite: Normalize line endings.

                                            [ Michael Lotz <mmlr@xxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev48197
Commit:      f00353a519a2a7642563092f6622f488e96d4e01
URL:         http://cgit.haiku-os.org/haiku/commit/?id=f00353a
Author:      Michael Lotz <mmlr@xxxxxxxx>
Date:        Sat Nov  1 14:43:43 2014 UTC

----------------------------------------------------------------------------

105 files changed, 10427 insertions(+), 10427 deletions(-)
.../conformance/interfaces/fork/testfrmw.c       |  142 +-
.../conformance/interfaces/fork/testfrmw.h       |  170 +-
.../conformance/interfaces/getpid/testfrmw.c     |  142 +-
.../conformance/interfaces/getpid/testfrmw.h     |  170 +-
.../interfaces/pthread_atfork/testfrmw.c         |  142 +-
.../interfaces/pthread_atfork/testfrmw.h         |  170 +-
.../interfaces/pthread_cancel/testfrmw.c         |  142 +-
.../interfaces/pthread_cancel/testfrmw.h         |  170 +-
.../interfaces/pthread_cond_broadcast/testfrmw.c |  142 +-
.../interfaces/pthread_cond_broadcast/testfrmw.h |  170 +-
.../interfaces/pthread_cond_destroy/testfrmw.c   |  142 +-
.../interfaces/pthread_cond_destroy/testfrmw.h   |  170 +-
.../interfaces/pthread_cond_init/testfrmw.c      |  116 +-
.../interfaces/pthread_cond_init/testfrmw.h      |  168 +-
.../interfaces/pthread_cond_signal/testfrmw.c    |  142 +-
.../interfaces/pthread_cond_signal/testfrmw.h    |  170 +-
.../interfaces/pthread_cond_timedwait/testfrmw.c |  116 +-
.../interfaces/pthread_cond_timedwait/testfrmw.h |  170 +-
.../interfaces/pthread_cond_wait/testfrmw.c      |  142 +-
.../interfaces/pthread_cond_wait/testfrmw.h      |  170 +-
.../interfaces/pthread_create/testfrmw.c         |  142 +-
.../interfaces/pthread_create/testfrmw.h         |  170 +-
.../interfaces/pthread_detach/testfrmw.c         |  142 +-
.../interfaces/pthread_detach/testfrmw.h         |  170 +-
.../interfaces/pthread_equal/testfrmw.c          |  142 +-
.../interfaces/pthread_equal/testfrmw.h          |  170 +-
.../interfaces/pthread_exit/testfrmw.c           |  142 +-
.../interfaces/pthread_exit/testfrmw.h           |  170 +-
.../interfaces/pthread_getschedparam/testfrmw.c  |  142 +-
.../interfaces/pthread_getschedparam/testfrmw.h  |  170 +-
.../interfaces/pthread_join/testfrmw.c           |  142 +-
.../interfaces/pthread_join/testfrmw.h           |  170 +-
.../interfaces/pthread_kill/testfrmw.c           |  142 +-
.../interfaces/pthread_kill/testfrmw.h           |  170 +-
.../interfaces/pthread_mutex_destroy/testfrmw.c  |  142 +-
.../interfaces/pthread_mutex_destroy/testfrmw.h  |  170 +-
.../interfaces/pthread_mutex_lock/4-1.c          |  508 +++---
.../interfaces/pthread_mutex_trylock/testfrmw.c  |  142 +-
.../interfaces/pthread_mutex_trylock/testfrmw.h  |  170 +-
.../interfaces/pthread_mutex_unlock/testfrmw.c   |  116 +-
.../interfaces/pthread_mutex_unlock/testfrmw.h   |  164 +-
.../interfaces/pthread_once/testfrmw.c           |  142 +-
.../interfaces/pthread_once/testfrmw.h           |  170 +-
.../interfaces/pthread_setschedparam/testfrmw.c  |  142 +-
.../interfaces/pthread_setschedparam/testfrmw.h  |  170 +-
.../interfaces/pthread_sigmask/testfrmw.c        |  142 +-
.../interfaces/pthread_sigmask/testfrmw.h        |  170 +-
.../conformance/interfaces/sem_close/testfrmw.c  |  142 +-
.../conformance/interfaces/sem_close/testfrmw.h  |  170 +-
.../interfaces/sem_getvalue/testfrmw.c           |  142 +-
.../interfaces/sem_getvalue/testfrmw.h           |  170 +-
.../conformance/interfaces/sem_init/testfrmw.c   |  142 +-
.../conformance/interfaces/sem_init/testfrmw.h   |  170 +-
.../conformance/interfaces/sem_open/testfrmw.c   |  142 +-
.../conformance/interfaces/sem_open/testfrmw.h   |  170 +-
.../conformance/interfaces/sem_unlink/testfrmw.c |  142 +-
.../conformance/interfaces/sem_unlink/testfrmw.h |  170 +-
.../conformance/interfaces/sem_wait/testfrmw.c   |  142 +-
.../conformance/interfaces/sem_wait/testfrmw.h   |  170 +-
.../conformance/interfaces/sigaction/testfrmw.c  |  142 +-
.../conformance/interfaces/sigaction/testfrmw.h  |  170 +-
.../conformance/interfaces/sigwait/testfrmw.c    |  142 +-
.../conformance/interfaces/sigwait/testfrmw.h    |  170 +-
.../functional/semaphores/sem_sleepingbarber.c   |  338 ++--
.../stress/threads/fork/testfrmw.c               |  142 +-
.../stress/threads/fork/testfrmw.h               |  170 +-
.../stress/threads/pthread_cancel/testfrmw.c     |  142 +-
.../stress/threads/pthread_cancel/testfrmw.h     |  170 +-
.../stress/threads/pthread_cond_init/s-c.c       |  582 +++---
.../stress/threads/pthread_cond_init/stress.c    |  480 ++---
.../stress/threads/pthread_cond_init/testfrmw.c  |  116 +-
.../stress/threads/pthread_cond_init/testfrmw.h  |  168 +-
.../stress/threads/pthread_cond_timedwait/s-c.c  | 1652 +++++++++---------
.../threads/pthread_cond_timedwait/testfrmw.c    |  116 +-
.../threads/pthread_cond_timedwait/testfrmw.h    |  168 +-
.../stress/threads/pthread_cond_wait/testfrmw.c  |  142 +-
.../stress/threads/pthread_cond_wait/testfrmw.h  |  170 +-
.../stress/threads/pthread_create/testfrmw.c     |  142 +-
.../stress/threads/pthread_create/testfrmw.h     |  170 +-
.../stress/threads/pthread_exit/testfrmw.c       |  142 +-
.../stress/threads/pthread_exit/testfrmw.h       |  170 +-
.../threads/pthread_getschedparam/testfrmw.c     |  142 +-
.../threads/pthread_getschedparam/testfrmw.h     |  170 +-
.../stress/threads/pthread_kill/testfrmw.c       |  142 +-
.../stress/threads/pthread_kill/testfrmw.h       |  170 +-
.../stress/threads/pthread_mutex_init/s-c.c      |  598 +++----
.../stress/threads/pthread_mutex_init/stress.c   |  436 ++---
.../stress/threads/pthread_mutex_init/testfrmw.c |  116 +-
.../stress/threads/pthread_mutex_init/testfrmw.h |  168 +-
.../stress/threads/pthread_mutex_lock/s-c1.c     |  664 +++----
.../stress/threads/pthread_mutex_lock/s-c2.c     |  818 ++++-----
.../stress/threads/pthread_mutex_lock/testfrmw.c |  116 +-
.../stress/threads/pthread_mutex_lock/testfrmw.h |  168 +-
.../threads/pthread_mutex_trylock/testfrmw.c     |  142 +-
.../threads/pthread_mutex_trylock/testfrmw.h     |  170 +-
.../stress/threads/pthread_once/testfrmw.c       |  142 +-
.../stress/threads/pthread_once/testfrmw.h       |  170 +-
.../stress/threads/pthread_self/testfrmw.c       |  142 +-
.../stress/threads/pthread_self/testfrmw.h       |  170 +-
[ *** stats truncated: 6 lines dropped *** ]

----------------------------------------------------------------------------

diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/testfrmw.c
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/testfrmw.c
index 38adaa8..c515f2b 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/testfrmw.c
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/testfrmw.c
@@ -1,71 +1,71 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following function are defined:
- * void output_init()
- * void output_fini()
- * void output(char * string, ...)
- * 
- * The are used to output informative text (as a printf).
- */
-
-#include <time.h>
-#include <sys/types.h>
- 
-/* We use a mutex to avoid conflicts in traces */
-static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
-
-/*****************************************************************************************/
-/******************************* stdout module 
*****************************************/
-/*****************************************************************************************/
-/* The following functions will output to stdout */
-#if (1)
-void output_init()
-{
-       /* do nothing */
-       return;
-}
-void output( char * string, ... )
-{
-   va_list ap;
-   char *ts="[??:??:??]";
-   struct tm * now;
-   time_t nw;
-
-   pthread_mutex_lock(&m_trace);
-   nw = time(NULL);
-   now = localtime(&nw);
-   if (now == NULL)
-      printf(ts);
-   else
-      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
-   va_start( ap, string);
-   vprintf(string, ap);
-   va_end(ap);
-   pthread_mutex_unlock(&m_trace);
-}
-void output_fini()
-{
-       /*do nothing */
-       return;
-}
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following function are defined:
+ * void output_init()
+ * void output_fini()
+ * void output(char * string, ...)
+ * 
+ * The are used to output informative text (as a printf).
+ */
+
+#include <time.h>
+#include <sys/types.h>
+ 
+/* We use a mutex to avoid conflicts in traces */
+static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
+
+/*****************************************************************************************/
+/******************************* stdout module 
*****************************************/
+/*****************************************************************************************/
+/* The following functions will output to stdout */
+#if (1)
+void output_init()
+{
+       /* do nothing */
+       return;
+}
+void output( char * string, ... )
+{
+   va_list ap;
+   char *ts="[??:??:??]";
+   struct tm * now;
+   time_t nw;
+
+   pthread_mutex_lock(&m_trace);
+   nw = time(NULL);
+   now = localtime(&nw);
+   if (now == NULL)
+      printf(ts);
+   else
+      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
+   va_start( ap, string);
+   vprintf(string, ap);
+   va_end(ap);
+   pthread_mutex_unlock(&m_trace);
+}
+void output_fini()
+{
+       /*do nothing */
+       return;
+}
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/testfrmw.h
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/testfrmw.h
index 239b7a5..2d17f1d 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/testfrmw.h
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/testfrmw.h
@@ -1,85 +1,85 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following macros are defined here:
- * UNRESOLVED(ret, descr);  
- *    where descr is a description of the error and ret is an int (error code 
for example)
- * FAILED(descr);
- *    where descr is a short text saying why the test has failed.
- * PASSED();
- *    No parameter.
- * 
- * Both three macros shall terminate the calling process. 
- * The testcase shall not terminate without calling one of those macros.
- * 
- * 
- */
- 
-#include "posixtest.h"
-#include <string.h> /* for the strerror() routine */
-
-
-#ifdef __GNUC__ /* We are using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
-       output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test %s FAILED: %s\n", __FILE__, s); \
-       output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-  
- #define UNTESTED(s) \
-{      output("File %s cannot test: %s\n", __FILE__, s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-  
-#else /* not using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
-  output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test FAILED: %s\n", s); \
-  output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-
- #define UNTESTED(s) \
-{      output("Unable to test: %s\n", s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following macros are defined here:
+ * UNRESOLVED(ret, descr);  
+ *    where descr is a description of the error and ret is an int (error code 
for example)
+ * FAILED(descr);
+ *    where descr is a short text saying why the test has failed.
+ * PASSED();
+ *    No parameter.
+ * 
+ * Both three macros shall terminate the calling process. 
+ * The testcase shall not terminate without calling one of those macros.
+ * 
+ * 
+ */
+ 
+#include "posixtest.h"
+#include <string.h> /* for the strerror() routine */
+
+
+#ifdef __GNUC__ /* We are using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
+       output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test %s FAILED: %s\n", __FILE__, s); \
+       output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+  
+ #define UNTESTED(s) \
+{      output("File %s cannot test: %s\n", __FILE__, s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+  
+#else /* not using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
+  output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test FAILED: %s\n", s); \
+  output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+
+ #define UNTESTED(s) \
+{      output("Unable to test: %s\n", s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/testfrmw.c
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/testfrmw.c
index 38adaa8..c515f2b 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/testfrmw.c
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/testfrmw.c
@@ -1,71 +1,71 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following function are defined:
- * void output_init()
- * void output_fini()
- * void output(char * string, ...)
- * 
- * The are used to output informative text (as a printf).
- */
-
-#include <time.h>
-#include <sys/types.h>
- 
-/* We use a mutex to avoid conflicts in traces */
-static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
-
-/*****************************************************************************************/
-/******************************* stdout module 
*****************************************/
-/*****************************************************************************************/
-/* The following functions will output to stdout */
-#if (1)
-void output_init()
-{
-       /* do nothing */
-       return;
-}
-void output( char * string, ... )
-{
-   va_list ap;
-   char *ts="[??:??:??]";
-   struct tm * now;
-   time_t nw;
-
-   pthread_mutex_lock(&m_trace);
-   nw = time(NULL);
-   now = localtime(&nw);
-   if (now == NULL)
-      printf(ts);
-   else
-      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
-   va_start( ap, string);
-   vprintf(string, ap);
-   va_end(ap);
-   pthread_mutex_unlock(&m_trace);
-}
-void output_fini()
-{
-       /*do nothing */
-       return;
-}
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following function are defined:
+ * void output_init()
+ * void output_fini()
+ * void output(char * string, ...)
+ * 
+ * The are used to output informative text (as a printf).
+ */
+
+#include <time.h>
+#include <sys/types.h>
+ 
+/* We use a mutex to avoid conflicts in traces */
+static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
+
+/*****************************************************************************************/
+/******************************* stdout module 
*****************************************/
+/*****************************************************************************************/
+/* The following functions will output to stdout */
+#if (1)
+void output_init()
+{
+       /* do nothing */
+       return;
+}
+void output( char * string, ... )
+{
+   va_list ap;
+   char *ts="[??:??:??]";
+   struct tm * now;
+   time_t nw;
+
+   pthread_mutex_lock(&m_trace);
+   nw = time(NULL);
+   now = localtime(&nw);
+   if (now == NULL)
+      printf(ts);
+   else
+      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
+   va_start( ap, string);
+   vprintf(string, ap);
+   va_end(ap);
+   pthread_mutex_unlock(&m_trace);
+}
+void output_fini()
+{
+       /*do nothing */
+       return;
+}
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/testfrmw.h
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/testfrmw.h
index 239b7a5..2d17f1d 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/testfrmw.h
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/testfrmw.h
@@ -1,85 +1,85 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following macros are defined here:
- * UNRESOLVED(ret, descr);  
- *    where descr is a description of the error and ret is an int (error code 
for example)
- * FAILED(descr);
- *    where descr is a short text saying why the test has failed.
- * PASSED();
- *    No parameter.
- * 
- * Both three macros shall terminate the calling process. 
- * The testcase shall not terminate without calling one of those macros.
- * 
- * 
- */
- 
-#include "posixtest.h"
-#include <string.h> /* for the strerror() routine */
-
-
-#ifdef __GNUC__ /* We are using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
-       output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test %s FAILED: %s\n", __FILE__, s); \
-       output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-  
- #define UNTESTED(s) \
-{      output("File %s cannot test: %s\n", __FILE__, s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-  
-#else /* not using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
-  output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test FAILED: %s\n", s); \
-  output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-
- #define UNTESTED(s) \
-{      output("Unable to test: %s\n", s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following macros are defined here:
+ * UNRESOLVED(ret, descr);  
+ *    where descr is a description of the error and ret is an int (error code 
for example)
+ * FAILED(descr);
+ *    where descr is a short text saying why the test has failed.
+ * PASSED();
+ *    No parameter.
+ * 
+ * Both three macros shall terminate the calling process. 
+ * The testcase shall not terminate without calling one of those macros.
+ * 
+ * 
+ */
+ 
+#include "posixtest.h"
+#include <string.h> /* for the strerror() routine */
+
+
+#ifdef __GNUC__ /* We are using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
+       output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test %s FAILED: %s\n", __FILE__, s); \
+       output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+  
+ #define UNTESTED(s) \
+{      output("File %s cannot test: %s\n", __FILE__, s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+  
+#else /* not using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
+  output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test FAILED: %s\n", s); \
+  output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+
+ #define UNTESTED(s) \
+{      output("Unable to test: %s\n", s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/testfrmw.c
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/testfrmw.c
index 729e2d6..d6f4d8b 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/testfrmw.c
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/testfrmw.c
@@ -1,71 +1,71 @@
-/*
- * Copyright (c) 2005, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following function are defined:
- * void output_init()
- * void output_fini()
- * void output(char * string, ...)
- * 
- * The are used to output informative text (as a printf).
- */
-
-#include <time.h>
-#include <sys/types.h>
- 
-/* We use a mutex to avoid conflicts in traces */
-static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
-
-/*****************************************************************************************/
-/******************************* stdout module 
*****************************************/
-/*****************************************************************************************/
-/* The following functions will output to stdout */
-#if (1)
-void output_init()
-{
-       /* do nothing */
-       return;
-}
-void output( char * string, ... )
-{
-   va_list ap;
-   char *ts="[??:??:??]";
-   struct tm * now;
-   time_t nw;
-
-   pthread_mutex_lock(&m_trace);
-   nw = time(NULL);
-   now = localtime(&nw);
-   if (now == NULL)
-      printf(ts);
-   else
-      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
-   va_start( ap, string);
-   vprintf(string, ap);
-   va_end(ap);
-   pthread_mutex_unlock(&m_trace);
-}
-void output_fini()
-{
-       /*do nothing */
-       return;
-}
-#endif
-
+/*
+ * Copyright (c) 2005, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following function are defined:
+ * void output_init()
+ * void output_fini()
+ * void output(char * string, ...)
+ * 
+ * The are used to output informative text (as a printf).
+ */
+
+#include <time.h>
+#include <sys/types.h>
+ 
+/* We use a mutex to avoid conflicts in traces */
+static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
+
+/*****************************************************************************************/
+/******************************* stdout module 
*****************************************/
+/*****************************************************************************************/
+/* The following functions will output to stdout */
+#if (1)
+void output_init()
+{
+       /* do nothing */
+       return;
+}
+void output( char * string, ... )
+{
+   va_list ap;
+   char *ts="[??:??:??]";
+   struct tm * now;
+   time_t nw;
+
+   pthread_mutex_lock(&m_trace);
+   nw = time(NULL);
+   now = localtime(&nw);
+   if (now == NULL)
+      printf(ts);
+   else
+      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
+   va_start( ap, string);
+   vprintf(string, ap);
+   va_end(ap);
+   pthread_mutex_unlock(&m_trace);
+}
+void output_fini()
+{
+       /*do nothing */
+       return;
+}
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/testfrmw.h
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/testfrmw.h
index fb9aa11..e3c9028 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/testfrmw.h
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/testfrmw.h
@@ -1,85 +1,85 @@
-/*
- * Copyright (c) 2005, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following macros are defined here:
- * UNRESOLVED(ret, descr);  
- *    where descr is a description of the error and ret is an int (error code 
for example)
- * FAILED(descr);
- *    where descr is a short text saying why the test has failed.
- * PASSED();
- *    No parameter.
- * 
- * Both three macros shall terminate the calling process. 
- * The testcase shall not terminate without calling one of those macros.
- * 
- * 
- */
- 
-#include "posixtest.h"
-#include <string.h> /* for the strerror() routine */
-
-
-#ifdef __GNUC__ /* We are using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
-       output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test %s FAILED: %s\n", __FILE__, s); \
-       output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-  
- #define UNTESTED(s) \
-{      output("File %s cannot test: %s\n", __FILE__, s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-  
-#else /* not using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
-  output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test FAILED: %s\n", s); \
-  output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-
- #define UNTESTED(s) \
-{      output("Unable to test: %s\n", s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-
-#endif
-
+/*
+ * Copyright (c) 2005, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following macros are defined here:
+ * UNRESOLVED(ret, descr);  
+ *    where descr is a description of the error and ret is an int (error code 
for example)
+ * FAILED(descr);
+ *    where descr is a short text saying why the test has failed.
+ * PASSED();
+ *    No parameter.
+ * 
+ * Both three macros shall terminate the calling process. 
+ * The testcase shall not terminate without calling one of those macros.
+ * 
+ * 
+ */
+ 
+#include "posixtest.h"
+#include <string.h> /* for the strerror() routine */
+
+
+#ifdef __GNUC__ /* We are using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
+       output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test %s FAILED: %s\n", __FILE__, s); \
+       output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+  
+ #define UNTESTED(s) \
+{      output("File %s cannot test: %s\n", __FILE__, s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+  
+#else /* not using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
+  output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test FAILED: %s\n", s); \
+  output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+
+ #define UNTESTED(s) \
+{      output("Unable to test: %s\n", s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cancel/testfrmw.c
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cancel/testfrmw.c
index 729e2d6..d6f4d8b 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cancel/testfrmw.c
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cancel/testfrmw.c
@@ -1,71 +1,71 @@
-/*
- * Copyright (c) 2005, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following function are defined:
- * void output_init()
- * void output_fini()
- * void output(char * string, ...)
- * 
- * The are used to output informative text (as a printf).
- */
-
-#include <time.h>
-#include <sys/types.h>
- 
-/* We use a mutex to avoid conflicts in traces */
-static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
-
-/*****************************************************************************************/
-/******************************* stdout module 
*****************************************/
-/*****************************************************************************************/
-/* The following functions will output to stdout */
-#if (1)
-void output_init()
-{
-       /* do nothing */
-       return;
-}
-void output( char * string, ... )
-{
-   va_list ap;
-   char *ts="[??:??:??]";
-   struct tm * now;
-   time_t nw;
-
-   pthread_mutex_lock(&m_trace);
-   nw = time(NULL);
-   now = localtime(&nw);
-   if (now == NULL)
-      printf(ts);
-   else
-      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
-   va_start( ap, string);
-   vprintf(string, ap);
-   va_end(ap);
-   pthread_mutex_unlock(&m_trace);
-}
-void output_fini()
-{
-       /*do nothing */
-       return;
-}
-#endif
-
+/*
+ * Copyright (c) 2005, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following function are defined:
+ * void output_init()
+ * void output_fini()
+ * void output(char * string, ...)
+ * 
+ * The are used to output informative text (as a printf).
+ */
+
+#include <time.h>
+#include <sys/types.h>
+ 
+/* We use a mutex to avoid conflicts in traces */
+static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
+
+/*****************************************************************************************/
+/******************************* stdout module 
*****************************************/
+/*****************************************************************************************/
+/* The following functions will output to stdout */
+#if (1)
+void output_init()
+{
+       /* do nothing */
+       return;
+}
+void output( char * string, ... )
+{
+   va_list ap;
+   char *ts="[??:??:??]";
+   struct tm * now;
+   time_t nw;
+
+   pthread_mutex_lock(&m_trace);
+   nw = time(NULL);
+   now = localtime(&nw);
+   if (now == NULL)
+      printf(ts);
+   else
+      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
+   va_start( ap, string);
+   vprintf(string, ap);
+   va_end(ap);
+   pthread_mutex_unlock(&m_trace);
+}
+void output_fini()
+{
+       /*do nothing */
+       return;
+}
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cancel/testfrmw.h
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cancel/testfrmw.h
index fb9aa11..e3c9028 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cancel/testfrmw.h
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cancel/testfrmw.h
@@ -1,85 +1,85 @@
-/*
- * Copyright (c) 2005, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following macros are defined here:
- * UNRESOLVED(ret, descr);  
- *    where descr is a description of the error and ret is an int (error code 
for example)
- * FAILED(descr);
- *    where descr is a short text saying why the test has failed.
- * PASSED();
- *    No parameter.
- * 
- * Both three macros shall terminate the calling process. 
- * The testcase shall not terminate without calling one of those macros.
- * 
- * 
- */
- 
-#include "posixtest.h"
-#include <string.h> /* for the strerror() routine */
-
-
-#ifdef __GNUC__ /* We are using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
-       output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test %s FAILED: %s\n", __FILE__, s); \
-       output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-  
- #define UNTESTED(s) \
-{      output("File %s cannot test: %s\n", __FILE__, s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-  
-#else /* not using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
-  output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test FAILED: %s\n", s); \
-  output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-
- #define UNTESTED(s) \
-{      output("Unable to test: %s\n", s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-
-#endif
-
+/*
+ * Copyright (c) 2005, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following macros are defined here:
+ * UNRESOLVED(ret, descr);  
+ *    where descr is a description of the error and ret is an int (error code 
for example)
+ * FAILED(descr);
+ *    where descr is a short text saying why the test has failed.
+ * PASSED();
+ *    No parameter.
+ * 
+ * Both three macros shall terminate the calling process. 
+ * The testcase shall not terminate without calling one of those macros.
+ * 
+ * 
+ */
+ 
+#include "posixtest.h"
+#include <string.h> /* for the strerror() routine */
+
+
+#ifdef __GNUC__ /* We are using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
+       output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test %s FAILED: %s\n", __FILE__, s); \
+       output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+  
+ #define UNTESTED(s) \
+{      output("File %s cannot test: %s\n", __FILE__, s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+  
+#else /* not using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
+  output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test FAILED: %s\n", s); \
+  output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+
+ #define UNTESTED(s) \
+{      output("Unable to test: %s\n", s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/testfrmw.c
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/testfrmw.c
index 38adaa8..c515f2b 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/testfrmw.c
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/testfrmw.c
@@ -1,71 +1,71 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following function are defined:
- * void output_init()
- * void output_fini()
- * void output(char * string, ...)
- * 
- * The are used to output informative text (as a printf).
- */
-
-#include <time.h>
-#include <sys/types.h>
- 
-/* We use a mutex to avoid conflicts in traces */
-static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
-
-/*****************************************************************************************/
-/******************************* stdout module 
*****************************************/
-/*****************************************************************************************/
-/* The following functions will output to stdout */
-#if (1)
-void output_init()
-{
-       /* do nothing */
-       return;
-}
-void output( char * string, ... )
-{
-   va_list ap;
-   char *ts="[??:??:??]";
-   struct tm * now;
-   time_t nw;
-
-   pthread_mutex_lock(&m_trace);
-   nw = time(NULL);
-   now = localtime(&nw);
-   if (now == NULL)
-      printf(ts);
-   else
-      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
-   va_start( ap, string);
-   vprintf(string, ap);
-   va_end(ap);
-   pthread_mutex_unlock(&m_trace);
-}
-void output_fini()
-{
-       /*do nothing */
-       return;
-}
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following function are defined:
+ * void output_init()
+ * void output_fini()
+ * void output(char * string, ...)
+ * 
+ * The are used to output informative text (as a printf).
+ */
+
+#include <time.h>
+#include <sys/types.h>
+ 
+/* We use a mutex to avoid conflicts in traces */
+static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
+
+/*****************************************************************************************/
+/******************************* stdout module 
*****************************************/
+/*****************************************************************************************/
+/* The following functions will output to stdout */
+#if (1)
+void output_init()
+{
+       /* do nothing */
+       return;
+}
+void output( char * string, ... )
+{
+   va_list ap;
+   char *ts="[??:??:??]";
+   struct tm * now;
+   time_t nw;
+
+   pthread_mutex_lock(&m_trace);
+   nw = time(NULL);
+   now = localtime(&nw);
+   if (now == NULL)
+      printf(ts);
+   else
+      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
+   va_start( ap, string);
+   vprintf(string, ap);
+   va_end(ap);
+   pthread_mutex_unlock(&m_trace);
+}
+void output_fini()
+{
+       /*do nothing */
+       return;
+}
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/testfrmw.h
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/testfrmw.h
index 239b7a5..2d17f1d 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/testfrmw.h
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/testfrmw.h
@@ -1,85 +1,85 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following macros are defined here:
- * UNRESOLVED(ret, descr);  
- *    where descr is a description of the error and ret is an int (error code 
for example)
- * FAILED(descr);
- *    where descr is a short text saying why the test has failed.
- * PASSED();
- *    No parameter.
- * 
- * Both three macros shall terminate the calling process. 
- * The testcase shall not terminate without calling one of those macros.
- * 
- * 
- */
- 
-#include "posixtest.h"
-#include <string.h> /* for the strerror() routine */
-
-
-#ifdef __GNUC__ /* We are using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
-       output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test %s FAILED: %s\n", __FILE__, s); \
-       output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-  
- #define UNTESTED(s) \
-{      output("File %s cannot test: %s\n", __FILE__, s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-  
-#else /* not using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
-  output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test FAILED: %s\n", s); \
-  output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-
- #define UNTESTED(s) \
-{      output("Unable to test: %s\n", s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following macros are defined here:
+ * UNRESOLVED(ret, descr);  
+ *    where descr is a description of the error and ret is an int (error code 
for example)
+ * FAILED(descr);
+ *    where descr is a short text saying why the test has failed.
+ * PASSED();
+ *    No parameter.
+ * 
+ * Both three macros shall terminate the calling process. 
+ * The testcase shall not terminate without calling one of those macros.
+ * 
+ * 
+ */
+ 
+#include "posixtest.h"
+#include <string.h> /* for the strerror() routine */
+
+
+#ifdef __GNUC__ /* We are using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
+       output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test %s FAILED: %s\n", __FILE__, s); \
+       output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+  
+ #define UNTESTED(s) \
+{      output("File %s cannot test: %s\n", __FILE__, s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+  
+#else /* not using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
+  output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test FAILED: %s\n", s); \
+  output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+
+ #define UNTESTED(s) \
+{      output("Unable to test: %s\n", s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/testfrmw.c
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/testfrmw.c
index 38adaa8..c515f2b 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/testfrmw.c
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/testfrmw.c
@@ -1,71 +1,71 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following function are defined:
- * void output_init()
- * void output_fini()
- * void output(char * string, ...)
- * 
- * The are used to output informative text (as a printf).
- */
-
-#include <time.h>
-#include <sys/types.h>
- 
-/* We use a mutex to avoid conflicts in traces */
-static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
-
-/*****************************************************************************************/
-/******************************* stdout module 
*****************************************/
-/*****************************************************************************************/
-/* The following functions will output to stdout */
-#if (1)
-void output_init()
-{
-       /* do nothing */
-       return;
-}
-void output( char * string, ... )
-{
-   va_list ap;
-   char *ts="[??:??:??]";
-   struct tm * now;
-   time_t nw;
-
-   pthread_mutex_lock(&m_trace);
-   nw = time(NULL);
-   now = localtime(&nw);
-   if (now == NULL)
-      printf(ts);
-   else
-      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
-   va_start( ap, string);
-   vprintf(string, ap);
-   va_end(ap);
-   pthread_mutex_unlock(&m_trace);
-}
-void output_fini()
-{
-       /*do nothing */
-       return;
-}
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following function are defined:
+ * void output_init()
+ * void output_fini()
+ * void output(char * string, ...)
+ * 
+ * The are used to output informative text (as a printf).
+ */
+
+#include <time.h>
+#include <sys/types.h>
+ 
+/* We use a mutex to avoid conflicts in traces */
+static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
+
+/*****************************************************************************************/
+/******************************* stdout module 
*****************************************/
+/*****************************************************************************************/
+/* The following functions will output to stdout */
+#if (1)
+void output_init()
+{
+       /* do nothing */
+       return;
+}
+void output( char * string, ... )
+{
+   va_list ap;
+   char *ts="[??:??:??]";
+   struct tm * now;
+   time_t nw;
+
+   pthread_mutex_lock(&m_trace);
+   nw = time(NULL);
+   now = localtime(&nw);
+   if (now == NULL)
+      printf(ts);
+   else
+      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
+   va_start( ap, string);
+   vprintf(string, ap);
+   va_end(ap);
+   pthread_mutex_unlock(&m_trace);
+}
+void output_fini()
+{
+       /*do nothing */
+       return;
+}
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/testfrmw.h
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/testfrmw.h
index 239b7a5..2d17f1d 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/testfrmw.h
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/testfrmw.h
@@ -1,85 +1,85 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following macros are defined here:
- * UNRESOLVED(ret, descr);  
- *    where descr is a description of the error and ret is an int (error code 
for example)
- * FAILED(descr);
- *    where descr is a short text saying why the test has failed.
- * PASSED();
- *    No parameter.
- * 
- * Both three macros shall terminate the calling process. 
- * The testcase shall not terminate without calling one of those macros.
- * 
- * 
- */
- 
-#include "posixtest.h"
-#include <string.h> /* for the strerror() routine */
-
-
-#ifdef __GNUC__ /* We are using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
-       output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test %s FAILED: %s\n", __FILE__, s); \
-       output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-  
- #define UNTESTED(s) \
-{      output("File %s cannot test: %s\n", __FILE__, s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-  
-#else /* not using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
-  output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test FAILED: %s\n", s); \
-  output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-
- #define UNTESTED(s) \
-{      output("Unable to test: %s\n", s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following macros are defined here:
+ * UNRESOLVED(ret, descr);  
+ *    where descr is a description of the error and ret is an int (error code 
for example)
+ * FAILED(descr);
+ *    where descr is a short text saying why the test has failed.
+ * PASSED();
+ *    No parameter.
+ * 
+ * Both three macros shall terminate the calling process. 
+ * The testcase shall not terminate without calling one of those macros.
+ * 
+ * 
+ */
+ 
+#include "posixtest.h"
+#include <string.h> /* for the strerror() routine */
+
+
+#ifdef __GNUC__ /* We are using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
+       output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test %s FAILED: %s\n", __FILE__, s); \
+       output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+  
+ #define UNTESTED(s) \
+{      output("File %s cannot test: %s\n", __FILE__, s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+  
+#else /* not using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
+  output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test FAILED: %s\n", s); \
+  output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+
+ #define UNTESTED(s) \
+{      output("Unable to test: %s\n", s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/testfrmw.c
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/testfrmw.c
index 9e6f2c2..575dbe8 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/testfrmw.c
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/testfrmw.c
@@ -1,58 +1,58 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following function are defined:
- * void output_init()
- * void output_fini()
- * void output(char * string, ...)
- * 
- * The are used to output informative text (as a printf).
- */
- 
-/* We use a mutex to avoid conflicts in traces */
-static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
-
-/*****************************************************************************************/
-/******************************* stdout module 
*****************************************/
-/*****************************************************************************************/
-/* The following functions will output to stdout */
-#if (1)
-void output_init()
-{
-       /* do nothing */
-       return;
-}
-void output( char * string, ... )
-{
-   va_list ap;
-   pthread_mutex_lock(&m_trace);
-   va_start( ap, string);
-   vprintf(string, ap);
-   va_end(ap);
-   pthread_mutex_unlock(&m_trace);
-}
-void output_fini()
-{
-       /*do nothing */
-       return;
-}
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following function are defined:
+ * void output_init()
+ * void output_fini()
+ * void output(char * string, ...)
+ * 
+ * The are used to output informative text (as a printf).
+ */
+ 
+/* We use a mutex to avoid conflicts in traces */
+static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
+
+/*****************************************************************************************/
+/******************************* stdout module 
*****************************************/
+/*****************************************************************************************/
+/* The following functions will output to stdout */
+#if (1)
+void output_init()
+{
+       /* do nothing */
+       return;
+}
+void output( char * string, ... )
+{
+   va_list ap;
+   pthread_mutex_lock(&m_trace);
+   va_start( ap, string);
+   vprintf(string, ap);
+   va_end(ap);
+   pthread_mutex_unlock(&m_trace);
+}
+void output_fini()
+{
+       /*do nothing */
+       return;
+}
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/testfrmw.h
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/testfrmw.h
index 77dfc1e..3de6c02 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/testfrmw.h
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/testfrmw.h
@@ -1,84 +1,84 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following macros are defined here:
- * UNRESOLVED(ret, descr);  
- *    where descr is a description of the error and ret is an int (error code 
for example)
- * FAILED(descr);
- *    where descr is a short text saying why the test has failed.
- * PASSED();
- *    No parameter.
- * 
- * Both three macros shall terminate the calling process. 
- * The testcase shall not terminate without calling one of those macros.
- * 
- * 
- */
- 
-#include "posixtest.h"
-#include <string.h> /* for the strerror() routine */
-
-#ifdef __GNUC__ /* We are using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
-       output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test %s FAILED: %s\n", __FILE__, s); \
-       output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-  
- #define UNTESTED(s) \
-{      output("File %s cannot test: %s\n", __FILE__, s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-  
-#else /* not using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
-  output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test FAILED: %s\n", s); \
-  output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-
- #define UNTESTED(s) \
-{      output("Unable to test: %s\n", s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following macros are defined here:
+ * UNRESOLVED(ret, descr);  
+ *    where descr is a description of the error and ret is an int (error code 
for example)
+ * FAILED(descr);
+ *    where descr is a short text saying why the test has failed.
+ * PASSED();
+ *    No parameter.
+ * 
+ * Both three macros shall terminate the calling process. 
+ * The testcase shall not terminate without calling one of those macros.
+ * 
+ * 
+ */
+ 
+#include "posixtest.h"
+#include <string.h> /* for the strerror() routine */
+
+#ifdef __GNUC__ /* We are using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
+       output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test %s FAILED: %s\n", __FILE__, s); \
+       output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+  
+ #define UNTESTED(s) \
+{      output("File %s cannot test: %s\n", __FILE__, s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+  
+#else /* not using GCC */
+
+  #define UNRESOLVED(x, s) \
+ { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
+  output_fini(); \
+       exit(PTS_UNRESOLVED); }
+       
+ #define FAILED(s) \
+ { output("Test FAILED: %s\n", s); \
+  output_fini(); \
+       exit(PTS_FAIL); }
+       
+ #define PASSED \
+  output_fini(); \
+  exit(PTS_PASS);
+
+ #define UNTESTED(s) \
+{      output("Unable to test: %s\n", s); \
+         output_fini(); \
+  exit(PTS_UNTESTED); \
+}
+
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/testfrmw.c
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/testfrmw.c
index 38adaa8..c515f2b 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/testfrmw.c
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/testfrmw.c
@@ -1,71 +1,71 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following function are defined:
- * void output_init()
- * void output_fini()
- * void output(char * string, ...)
- * 
- * The are used to output informative text (as a printf).
- */
-
-#include <time.h>
-#include <sys/types.h>
- 
-/* We use a mutex to avoid conflicts in traces */
-static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
-
-/*****************************************************************************************/
-/******************************* stdout module 
*****************************************/
-/*****************************************************************************************/
-/* The following functions will output to stdout */
-#if (1)
-void output_init()
-{
-       /* do nothing */
-       return;
-}
-void output( char * string, ... )
-{
-   va_list ap;
-   char *ts="[??:??:??]";
-   struct tm * now;
-   time_t nw;
-
-   pthread_mutex_lock(&m_trace);
-   nw = time(NULL);
-   now = localtime(&nw);
-   if (now == NULL)
-      printf(ts);
-   else
-      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
-   va_start( ap, string);
-   vprintf(string, ap);
-   va_end(ap);
-   pthread_mutex_unlock(&m_trace);
-}
-void output_fini()
-{
-       /*do nothing */
-       return;
-}
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following function are defined:
+ * void output_init()
+ * void output_fini()
+ * void output(char * string, ...)
+ * 
+ * The are used to output informative text (as a printf).
+ */
+
+#include <time.h>
+#include <sys/types.h>
+ 
+/* We use a mutex to avoid conflicts in traces */
+static pthread_mutex_t m_trace = PTHREAD_MUTEX_INITIALIZER;
+
+/*****************************************************************************************/
+/******************************* stdout module 
*****************************************/
+/*****************************************************************************************/
+/* The following functions will output to stdout */
+#if (1)
+void output_init()
+{
+       /* do nothing */
+       return;
+}
+void output( char * string, ... )
+{
+   va_list ap;
+   char *ts="[??:??:??]";
+   struct tm * now;
+   time_t nw;
+
+   pthread_mutex_lock(&m_trace);
+   nw = time(NULL);
+   now = localtime(&nw);
+   if (now == NULL)
+      printf(ts);
+   else
+      printf("[%2.2d:%2.2d:%2.2d]", now->tm_hour, now->tm_min, now->tm_sec);
+   va_start( ap, string);
+   vprintf(string, ap);
+   va_end(ap);
+   pthread_mutex_unlock(&m_trace);
+}
+void output_fini()
+{
+       /*do nothing */
+       return;
+}
+#endif
+
diff --git 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/testfrmw.h
 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/testfrmw.h
index 239b7a5..2d17f1d 100644
--- 
a/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/testfrmw.h
+++ 
b/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/testfrmw.h
@@ -1,85 +1,85 @@
-/*
- * Copyright (c) 2004, Bull S.A..  All rights reserved.
- * Created by: Sebastien Decugis
-
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- 
- 
- * This file is a wrapper to use the tests from the NPTL Test & Trace Project
- * with either the Linux Test Project or the Open POSIX Test Suite.
- 
- * The following macros are defined here:
- * UNRESOLVED(ret, descr);  
- *    where descr is a description of the error and ret is an int (error code 
for example)
- * FAILED(descr);
- *    where descr is a short text saying why the test has failed.
- * PASSED();
- *    No parameter.
- * 
- * Both three macros shall terminate the calling process. 
- * The testcase shall not terminate without calling one of those macros.
- * 
- * 
- */
- 
-#include "posixtest.h"
-#include <string.h> /* for the strerror() routine */
-
-
-#ifdef __GNUC__ /* We are using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test %s unresolved: got %i (%s) on line %i (%s)\n", __FILE__, x, 
strerror(x), __LINE__, s); \
-       output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test %s FAILED: %s\n", __FILE__, s); \
-       output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-  
- #define UNTESTED(s) \
-{      output("File %s cannot test: %s\n", __FILE__, s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-  
-#else /* not using GCC */
-
-  #define UNRESOLVED(x, s) \
- { output("Test unresolved: got %i (%s) on line %i (%s)\n", x, strerror(x), 
__LINE__, s); \
-  output_fini(); \
-       exit(PTS_UNRESOLVED); }
-       
- #define FAILED(s) \
- { output("Test FAILED: %s\n", s); \
-  output_fini(); \
-       exit(PTS_FAIL); }
-       
- #define PASSED \
-  output_fini(); \
-  exit(PTS_PASS);
-
- #define UNTESTED(s) \
-{      output("Unable to test: %s\n", s); \
-         output_fini(); \
-  exit(PTS_UNTESTED); \
-}
-
-#endif
-
+/*
+ * Copyright (c) 2004, Bull S.A..  All rights reserved.
+ * Created by: Sebastien Decugis
+
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ 
+ 
+ * This file is a wrapper to use the tests from the NPTL Test & Trace Project
+ * with either the Linux Test Project or the Open POSIX Test Suite.
+ 
+ * The following macros are defined here:
+ * UNRESOLVED(ret, descr);  
+ *    where descr is a description of the error and ret is an int (error code 
for example)
+ * FAILED(descr);
+ *    where descr is a short text saying why the test has failed.
+ * PASSED();
+ *    No parameter.
+ * 
+ * Both three macros shall terminate the calling process. 
+ * The testcase shall not terminate without calling one of those macros.
+ * 
+ * 
+ */
+ 
+#include "posixtest.h"
+#include <string.h> /* for the strerror() routine */

[ *** diff truncated: 18879 lines dropped *** ]



Other related posts:

  • » [haiku-commits] haiku: hrev48197 - in src/tests/system/libroot/posix/posixtestsuite: conformance/interfaces stress/threads stress/threads/pthread_cond_timedwait stress/threads/pthread_mutex_lock stress/threads/pthread_cond_init - mmlr