about summary refs log tree commit diff
path: root/wctype
diff options
context:
space:
mode:
Diffstat (limited to 'wctype')
-rw-r--r--wctype/test_wcfuncs.c2
-rw-r--r--wctype/test_wctype.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/wctype/test_wcfuncs.c b/wctype/test_wcfuncs.c
index 61328ea22d..8e4c2823b4 100644
--- a/wctype/test_wcfuncs.c
+++ b/wctype/test_wcfuncs.c
@@ -84,5 +84,5 @@ main (int argc, char *argv[])
 
   if (result == 0)
     puts ("All test successful!");
-  exit (result);
+  return result != 0;
 }
diff --git a/wctype/test_wctype.c b/wctype/test_wctype.c
index 1c9bf5aa3b..e1fa45a1e5 100644
--- a/wctype/test_wctype.c
+++ b/wctype/test_wctype.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -79,5 +79,5 @@ main (int argc, char *argv[])
 
   if (result == 0)
     puts ("All test successful!");
-  exit (result);
+  return result;
 }