test-futimens: avoid unwarranted test failure on Solaris 5.11
authorJim Meyering <meyering@redhat.com>
Mon, 11 Oct 2010 10:44:56 +0000 (12:44 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 11 Oct 2010 10:45:07 +0000 (12:45 +0200)
commit0afab138f4aedb7eaab70957c164aa0e5eb01fce
tree765792f3aa164cc6700487e39ee9fe6eb46e1b18
parentd059c97422cfb96405b010209ed1ec21394eefa6
test-futimens: avoid unwarranted test failure on Solaris 5.11

* tests/test-futimens.h (test_futimens): When provoking EBADF, use an
invalid file descriptor, so we don't provoke EFAULT from Solaris 5.11,
because it tries to dereference the NULL name argument.
ChangeLog
tests/test-futimens.h