Re: [PATCH] test-futimens: avoid unwarranted test failure on Solaris 5.11

2010-10-11 Thread Jim Meyering
Eric Blake wrote: > On 10/11/2010 04:51 AM, Jim Meyering wrote: >> That's because futimens (AT_FDCWD, NULL) would fail with errno set to >> EFAULT, rather than the expected value of EBADF. >> >> At first I was going to relax the test to allow "|| errno == EFAULT", >> but what if EFAULT is not defin

Re: [PATCH] test-futimens: avoid unwarranted test failure on Solaris 5.11

2010-10-11 Thread Eric Blake
On 10/11/2010 04:51 AM, Jim Meyering wrote: That's because futimens (AT_FDCWD, NULL) would fail with errno set to EFAULT, rather than the expected value of EBADF. At first I was going to relax the test to allow "|| errno == EFAULT", but what if EFAULT is not defined? There's only one other use

[PATCH] test-futimens: avoid unwarranted test failure on Solaris 5.11

2010-10-11 Thread Jim Meyering
ementation will interpret things differently. >From 0afab138f4aedb7eaab70957c164aa0e5eb01fce Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 11 Oct 2010 12:44:56 +0200 Subject: [PATCH] test-futimens: avoid unwarranted test failure on Solaris 5.11 * tests/test-futimens.h (test_futimens):