X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-getloadavg.c;h=c27eb2d72bea77daa4865708ad496bd9142a55fc;hb=5191b3546cfb6c163228c23f214e325ddf60d46f;hp=f039776b939e1829b470223a183b4af6264a09e3;hpb=073f98a991ebf68ddc0b52a7e5f431c5cc78129e;p=gnulib.git diff --git a/tests/test-getloadavg.c b/tests/test-getloadavg.c index f039776b9..c27eb2d72 100644 --- a/tests/test-getloadavg.c +++ b/tests/test-getloadavg.c @@ -1,5 +1,5 @@ /* Test of getting load average. - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2013 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 @@ -60,7 +60,7 @@ main (int argc, char **argv) int loads = getloadavg (avg, 3); if (loads == -1) { - if (! (errno == ENOSYS || errno == ENOTSUP)) + if (! (errno == ENOSYS || errno == ENOTSUP || errno == ENOENT)) return 1; perror ("Skipping test; load average not supported"); return 77;