diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2012-01-12 00:49:06 +0400 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-01-11 13:54:10 -0700 |
commit | 92f1c30e37851a1d32330febc0dfd2548f3f64c5 (patch) | |
tree | 08f138e70eb3cd923cee93041387aa0ec7f269ac /ChangeLog | |
parent | 557f8d27ac9cfd41bf944eb883a1e8a10812603a (diff) | |
download | gnulib-92f1c30e37851a1d32330febc0dfd2548f3f64c5.tar.gz |
getloadavg test: skip the test on GNU/Linux without /proc mounted
GNU libc implements getloadavg(3) on Linux by parsing /proc/loadavg
file. When /proc is not mounted, it always fails with ENOENT.
* tests/test-getloadavg.c (main): Treat ENOENT return code from
getloadavg(3) the same way as ENOSYS and ENOTSUP.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2012-01-11 Dmitry V. Levin <ldv@altlinux.org> + + getloadavg test: skip the test on GNU/Linux without /proc mounted + GNU libc implements getloadavg(3) on Linux by parsing /proc/loadavg + file. When /proc is not mounted, it always fails with ENOENT. + * tests/test-getloadavg.c (main): Treat ENOENT return code from + getloadavg(3) the same way as ENOSYS and ENOTSUP. + 2012-01-10 Bruno Haible <bruno@clisp.org> regex: Avoid link error on MSVC 9. |