X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Ftest-readlink.h;h=d19f9b331fe1bb4e913af01aac2277749278fe39;hb=931b01b091932a1f796c23379ea32abb68bd5895;hp=08d5662afc6182cef3184a52111913e5babd5523;hpb=7be93f2d05131d061bd4790ae33c8d50f50010d7;p=platform%2Fupstream%2Fm4.git diff --git a/tests/test-readlink.h b/tests/test-readlink.h index 08d5662..d19f9b3 100644 --- a/tests/test-readlink.h +++ b/tests/test-readlink.h @@ -1,5 +1,5 @@ /* Tests of readlink. - Copyright (C) 2009-2011 Free Software Foundation, Inc. + Copyright (C) 2009-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 @@ -38,7 +38,7 @@ test_readlink (ssize_t (*func) (char const *, char *, size_t), bool print) ASSERT (errno == ENOENT); errno = 0; ASSERT (func ("", buf, sizeof buf) == -1); - ASSERT (errno == ENOENT); + ASSERT (errno == ENOENT || errno == EINVAL); errno = 0; ASSERT (func (".", buf, sizeof buf) == -1); ASSERT (errno == EINVAL);