about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-11-06 18:45:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-11-06 18:45:32 +0000
commitd699ab25d32768aaad899f9ff1e668be62c448d2 (patch)
tree327189aa868a9f0486d5303cbf4f31e7dec00e1e
parentb9eaf28a640bdfbfbad55cdfe0361339664ab8ba (diff)
downloadglibc-d699ab25d32768aaad899f9ff1e668be62c448d2.tar.gz
glibc-d699ab25d32768aaad899f9ff1e668be62c448d2.tar.xz
glibc-d699ab25d32768aaad899f9ff1e668be62c448d2.zip
Fix typo in signgam test messages.
I noticed a typo in the messages from the signgam tests I recently
added.  This patch fixes it.

Tested for x86_64 and x86.

	* math/test-signgam-finite.c (RUN_TESTS): Correct messages about
	calls with argument -0.5.
	* math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
-rw-r--r--ChangeLog4
-rw-r--r--math/test-signgam-finite-c99.c4
-rw-r--r--math/test-signgam-finite.c4
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 1af65b834c..da6c7dd2f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
+
 	* configure.ac (libc_cv_z_nodelete): Remove configure test.
 	(libc_cv_z_nodlopen): Likewise.
 	(libc_cv_z_initfirst): Likewise.
diff --git a/math/test-signgam-finite-c99.c b/math/test-signgam-finite-c99.c
index bdbaf5a13c..fd9cdd37dc 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 5d444c8068..264d4e87ea 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;						\
 	}							\
     }								\