projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f8fe5
)
2006-01-15 Jakub Jelinek <jakub@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Tue, 17 Jan 2006 03:27:51 +0000
(
03:27
+0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 17 Jan 2006 03:27:51 +0000
(
03:27
+0000)
* io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
io/tst-faccessat.c
patch
|
blob
|
history
diff --git
a/io/tst-faccessat.c
b/io/tst-faccessat.c
index
3bf7aed
..
52b2e7b
100644
(file)
--- a/
io/tst-faccessat.c
+++ b/
io/tst-faccessat.c
@@
-135,7
+135,7
@@
do_test (void)
errno = 0;
if (faccessat (dir_fd, "some-file", W_OK, AT_EACCESS) == 0
-
|| errno != EACCES
)
+
? (geteuid () != 0) : (errno != EACCES)
)
{
printf ("faccessat W_OK on unwritable file: %m\n");
result = 1;