[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] getloadavg test: skip the test on GNU/Linux without /proc mo
From: |
Eric Blake |
Subject: |
Re: [PATCH] getloadavg test: skip the test on GNU/Linux without /proc mounted |
Date: |
Wed, 11 Jan 2012 13:56:18 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
On 01/11/2012 01:49 PM, Dmitry V. Levin wrote:
> Ping?
>
> ----- Forwarded message from "Dmitry V. Levin" <address@hidden> -----
>
> Date: Sun, 24 Apr 2011 13:44:38 +0400
> From: "Dmitry V. Levin" <address@hidden>
> To: address@hidden
> Subject: [PATCH] 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.
> ---
> ChangeLog | 8 ++++++++
> tests/test-getloadavg.c | 2 +-
> 2 files changed, 9 insertions(+), 1 deletions(-)
Applied. Thanks for the ping.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature