[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Failed test "test-fopen-gnu" on Solaris 10
From: |
Dagobert Michelsen |
Subject: |
Failed test "test-fopen-gnu" on Solaris 10 |
Date: |
Mon, 16 Nov 2020 14:41:28 +0100 |
Hi,
I am currently trying to build gettext 0.21 on Solaris 10 and encountered a
failed test
in gnulib:
FAIL: test-fopen-gnu
====================
test-fopen-gnu.c:59: assertion 'f' failed
FAIL test-fopen-gnu (exit status: 134)
Essentially this is failing:
/* Create the file and check the 'e' mode. */
f = fopen (BASE "file", "we");
ASSERT (f);
Here are the corresponding syscalls:
29880: open64("test-fopen-gnu.tfile", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
29880: fcntl(3, F_GETFD, 0xFEFFD8A0) = 0
29880: close(3) = 0
29880: open64("test-fopen-gnu.tfile", O_WRONLY|O_CREAT|O_TRUNC, 0626433225)
Err#13 EACCES
The file permissions look like this:
-rw-r--r-- 1 dam csw 0 Nov 16 14:29 test-fopen-gnu.tfile
To my knowledge e-mode O_CLOEXEC is not available to Solaris 10 libc, so I guess
this test should be skipped on Solaris?
Best regards
— Dago
--
"You don't become great by trying to be great, you become great by wanting to
do something,
and then doing it so hard that you become great in the process." - xkcd #896
- Failed test "test-fopen-gnu" on Solaris 10,
Dagobert Michelsen <=