bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hamt tests: Fix test failure with Sun C on Solaris 10/SPARC


From: Bruno Haible
Subject: hamt tests: Fix test failure with Sun C on Solaris 10/SPARC
Date: Sat, 29 Apr 2023 03:14:46 +0200

Running a testdir on Solaris 10/SPARC with Sun C, I see a test failure:

$ ./test-hamt                                                                   
                                               
$ echo $?                                                                       
                                               
1

No assertion is failing; just the exit code is wrong. This patch fixes it.


2023-04-28  Bruno Haible  <bruno@clisp.org>

        hamt tests: Fix test failure with Sun C on Solaris 10/SPARC.
        * tests/test-hamt.c (main): Finish with exit code 0.

diff --git a/tests/test-hamt.c b/tests/test-hamt.c
index 6fdffeac06..ff5df6e19a 100644
--- a/tests/test-hamt.c
+++ b/tests/test-hamt.c
@@ -376,4 +376,6 @@ main (void)
   test_functional_update ();
   test_destructive_update ();
   test_iterator ();
+
+  return 0;
 }






reply via email to

[Prev in Thread] Current Thread [Next in Thread]