From 931b01b091932a1f796c23379ea32abb68bd5895 Mon Sep 17 00:00:00 2001 From: Li Jinjing Date: Sun, 26 Oct 2014 22:28:15 +0800 Subject: Imported Upstream version 1.4.17 --- tests/test-readlink.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-readlink.h') 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); -- cgit v1.2.3