summaryrefslogtreecommitdiff
path: root/tests/test-sprintf-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-sprintf-posix.h')
-rw-r--r--tests/test-sprintf-posix.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-sprintf-posix.h b/tests/test-sprintf-posix.h
index e598b0bd9a..296628b222 100644
--- a/tests/test-sprintf-posix.h
+++ b/tests/test-sprintf-posix.h
@@ -347,7 +347,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
int retval =
my_sprintf (result, "%010a %d", Infinityd (), 33, 44, 55);
/* "0000000inf 33" is not a valid result; see
- <https://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
+ <https://lists.gnu.org/r/bug-gnulib/2007-04/msg00107.html> */
ASSERT (strcmp (result, " inf 33") == 0);
ASSERT (retval == strlen (result));
}
@@ -356,7 +356,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
int retval =
my_sprintf (result, "%050a %d", NaNd (), 33, 44, 55);
/* "0000000nan 33" is not a valid result; see
- <https://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
+ <https://lists.gnu.org/r/bug-gnulib/2007-04/msg00107.html> */
ASSERT (strlen (result) == 50 + 3
&& strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
&& strcmp (result + strlen (result) - 3, " 33") == 0);
@@ -651,7 +651,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
int retval =
my_sprintf (result, "%010La %d", Infinityl (), 33, 44, 55);
/* "0000000inf 33" is not a valid result; see
- <https://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
+ <https://lists.gnu.org/r/bug-gnulib/2007-04/msg00107.html> */
ASSERT (strcmp (result, " inf 33") == 0);
ASSERT (retval == strlen (result));
}
@@ -660,7 +660,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
int retval =
my_sprintf (result, "%050La %d", NaNl (), 33, 44, 55);
/* "0000000nan 33" is not a valid result; see
- <https://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
+ <https://lists.gnu.org/r/bug-gnulib/2007-04/msg00107.html> */
ASSERT (strlen (result) == 50 + 3
&& strisnan (result, strspn (result, " "), strlen (result) - 3, 0)
&& strcmp (result + strlen (result) - 3, " 33") == 0);