X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-areadlink.h;h=61bce2940ea44768c99f65624bba48034e0e9197;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=9ad801998838fcda7691722dfb6a0d8b7f93e951;hpb=313a7306cf97fc82111d1e865e067dcd39e38b60;p=gnulib.git diff --git a/tests/test-areadlink.h b/tests/test-areadlink.h index 9ad801998..61bce2940 100644 --- a/tests/test-areadlink.h +++ b/tests/test-areadlink.h @@ -1,5 +1,5 @@ /* Tests of areadlink and friends. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009-2014 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 @@ -36,7 +36,7 @@ test_areadlink (char * (*func) (char const *, size_t), bool print) ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("", 1) == NULL); - ASSERT (errno == ENOENT); + ASSERT (errno == ENOENT || errno == EINVAL); errno = 0; ASSERT (func (".", 1) == NULL); ASSERT (errno == EINVAL);