Eugene Syromyatnikov 76cdf04c31 tests: allow any error code when trying to set time
Lower expectations of particular error code numbers when trying to set
time.  This helps to workaround issues with unexpected return codes
in some exotic environments where EPERM is returned instead of EINVAL
(e.g. mock that uses systemd-nspawn).

* tests/clock_xettime.c (main): Do not hardcode EINVAL, print return
codes using sprintrc.
* tests/xettimeofday.c (main): Likewise.
* NEWS: Mention this fix.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-08-05 11:49:04 +00:00
..
2018-02-13 22:00:00 +00:00
2017-03-31 23:25:32 +00:00
2018-06-14 11:00:00 +00:00
2018-07-03 16:51:49 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-07-11 00:00:57 +00:00
2016-10-29 02:54:01 +03:00
2016-09-10 22:58:40 +00:00
2017-05-22 17:33:51 +00:00
2017-04-21 19:49:03 +00:00
2017-05-22 17:33:51 +00:00
2016-03-12 23:52:52 +00:00
2016-03-12 23:52:52 +00:00
2016-03-12 23:52:52 +00:00
2018-04-05 01:40:00 +00:00
2018-03-22 06:23:25 +00:00
2018-03-22 06:23:25 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-06-12 15:47:39 +00:00
2017-09-05 10:09:10 +02:00
2018-02-13 22:00:00 +00:00
2015-08-01 22:23:58 +00:00
2015-08-01 22:23:58 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2016-10-30 22:54:27 +00:00
2016-10-30 22:54:27 +00:00
2016-10-30 22:54:27 +00:00
2016-10-30 22:54:27 +00:00
2017-05-22 17:33:51 +00:00
2018-06-14 11:00:00 +00:00
2016-09-20 00:23:10 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-08-06 11:26:52 +00:00
2017-08-06 11:26:52 +00:00
2018-04-05 01:40:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2016-01-05 23:17:07 +00:00
2017-06-17 22:54:08 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-04-11 04:04:37 +00:00
2017-04-11 04:04:37 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2016-04-21 17:31:05 +00:00
2018-02-13 22:00:00 +00:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-06-14 11:00:00 +00:00
2018-02-13 22:00:00 +00:00
2017-07-24 12:10:54 +00:00
2018-06-14 11:00:00 +00:00
2017-12-23 02:10:13 +00:00
2017-05-22 17:33:51 +00:00
2018-04-05 01:40:00 +00:00
2017-12-23 02:10:13 +00:00
2018-02-13 22:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-05-28 17:34:50 +00:00
2018-06-14 11:00:00 +00:00
2018-05-09 22:01:45 +00:00
2017-09-17 12:04:11 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-06 10:10:43 +00:00
2015-12-10 02:06:25 +00:00
2017-11-22 00:38:03 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-04-27 23:16:33 +00:00
2018-02-13 22:00:00 +00:00
2017-09-05 10:09:10 +02:00
2017-01-12 22:46:28 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-09-05 10:09:10 +02:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-04-05 01:40:00 +00:00
2017-06-17 22:54:08 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2016-05-11 12:26:00 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-09-05 10:09:10 +02:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-09-05 10:09:10 +02:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2016-01-06 11:33:13 +00:00
2017-05-22 17:33:51 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2016-11-22 01:46:07 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-04-05 01:40:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-07-02 00:11:31 +00:00
2017-06-17 22:54:08 +00:00
2018-02-13 22:00:00 +00:00
2017-09-05 10:09:10 +02:00
2017-06-17 22:54:08 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2018-04-05 01:40:00 +00:00
2017-06-17 22:54:08 +00:00
2017-05-22 17:33:51 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-04-21 19:49:03 +00:00
2018-04-05 01:40:00 +00:00
2018-06-14 11:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-09-05 10:09:10 +02:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-01-23 23:17:02 +00:00
2018-04-05 01:40:00 +00:00
2017-04-21 19:49:03 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-04-05 01:40:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-06-14 11:00:00 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2018-06-14 11:00:00 +00:00
2018-02-13 22:00:00 +00:00
2017-08-16 16:25:03 +00:00
2015-07-18 00:01:40 +00:00
2017-06-17 22:54:08 +00:00
2017-05-22 17:33:51 +00:00
2017-05-21 14:37:48 +00:00
2018-06-14 11:00:00 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2016-10-30 22:54:27 +00:00
2017-12-29 15:20:21 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-06-17 22:54:08 +00:00
2016-11-28 16:57:30 +00:00
2018-06-14 11:00:00 +00:00
2017-07-21 02:49:24 +00:00
2016-12-01 00:05:09 +00:00
2017-05-22 17:33:51 +00:00
2018-06-14 11:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-04-05 01:40:00 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-06-17 22:54:08 +00:00
2017-09-05 10:09:10 +02:00
2017-04-25 14:35:47 +00:00
2017-04-21 19:49:03 +00:00
2017-09-05 10:09:10 +02:00
2016-07-28 00:06:46 +00:00
2017-05-22 17:33:51 +00:00
2016-01-05 23:24:50 +00:00
2018-02-13 22:00:00 +00:00
2016-01-05 23:24:36 +00:00
2015-03-31 20:52:41 +00:00
2015-03-31 20:52:41 +00:00
2017-03-16 13:46:36 +00:00
2017-05-22 17:33:51 +00:00
2017-04-17 00:17:00 +00:00
2016-09-05 15:58:35 +00:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-06-17 22:54:08 +00:00
2017-09-05 10:09:10 +02:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-07-15 22:14:29 +00:00