This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix typo in signgam test messages [committed]


I noticed a typo in the messages from the signgam tests I recently
added.  This patch fixes it.

Tested for x86_64 and x86.  Committed.

2015-11-06  Joseph Myers  <joseph@codesourcery.com>

	* math/test-signgam-finite.c (RUN_TESTS): Correct messages about
	calls with argument -0.5.
	* math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.

diff --git a/math/test-signgam-finite-c99.c b/math/test-signgam-finite-c99.c
index bdbaf5a..fd9cdd3 100644
--- a/math/test-signgam-finite-c99.c
+++ b/math/test-signgam-finite-c99.c
@@ -43,10 +43,10 @@ int signgam;
       signgam = 123;						\
       c = FUNC (b);						\
       if (signgam == 123)					\
-	puts ("PASS: " #FUNC " (0.5) setting signgam");		\
+	puts ("PASS: " #FUNC " (-0.5) setting signgam");	\
       else							\
 	{							\
-	  puts ("FAIL: " #FUNC " (0.5) setting signgam");	\
+	  puts ("FAIL: " #FUNC " (-0.5) setting signgam");	\
 	  result = 1;						\
 	}							\
     }								\
diff --git a/math/test-signgam-finite.c b/math/test-signgam-finite.c
index 5d444c8..264d4e8 100644
--- a/math/test-signgam-finite.c
+++ b/math/test-signgam-finite.c
@@ -37,10 +37,10 @@
       signgam = 123;						\
       c = FUNC (b);						\
       if (signgam == -1)					\
-	puts ("PASS: " #FUNC " (0.5) setting signgam");		\
+	puts ("PASS: " #FUNC " (-0.5) setting signgam");	\
       else							\
 	{							\
-	  puts ("FAIL: " #FUNC " (0.5) setting signgam");	\
+	  puts ("FAIL: " #FUNC " (-0.5) setting signgam");	\
 	  result = 1;						\
 	}							\
     }								\

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]