prelude-manager/prelude-manager-5.2.0-fix-t...

39 lines
1.5 KiB
Diff

--- a/libmissing/tests/test-perror2.c 2020-09-09 16:42:01.078000000 +0200
+++ b/libmissing/tests/test-perror2.c 2020-09-21 13:24:57.467530985 +0200
@@ -1,5 +1,5 @@
/* Test of perror() function.
- Copyright (C) 2011-2018 Free Software Foundation, Inc.
+ Copyright (C) 2011-2020 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -79,9 +79,6 @@
errno = -5;
perror ("");
ASSERT (!ferror (stderr));
- ASSERT (msg1 == msg2 || msg1 == msg4 || STREQ (msg1, str1));
- ASSERT (msg2 == msg4 || STREQ (msg2, str2));
- ASSERT (msg3 == msg4 || STREQ (msg3, str3));
ASSERT (STREQ (msg4, str4));
free (str1);
--- a/libmissing/tests/test-strerror_r.c 2020-09-09 16:42:01.084000000 +0200
+++ b/libmissing/tests/test-strerror_r.c 2020-09-21 13:38:26.272383783 +0200
@@ -1,5 +1,5 @@
/* Test of strerror_r() function.
- Copyright (C) 2007-2018 Free Software Foundation, Inc.
+ Copyright (C) 2007-2020 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -165,9 +165,6 @@
strerror_r (EACCES, buf, sizeof buf);
strerror_r (-5, buf, sizeof buf);
- ASSERT (msg1 == msg2 || msg1 == msg4 || STREQ (msg1, str1));
- ASSERT (msg2 == msg4 || STREQ (msg2, str2));
- ASSERT (msg3 == msg4 || STREQ (msg3, str3));
ASSERT (STREQ (msg4, str4));
free (str1);