X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-futimens.h;h=ffb0e552212b40a6f19afd243c5e2da284de8ba0;hb=781cacd451d6fdd0f8b9c03c9651726f3cac8743;hp=648de67e040e5762b82a5717217899593e4dd55c;hpb=2408f02086a20c0a02241cd4a1cf11f126a95fe3;p=gnulib.git diff --git a/tests/test-futimens.h b/tests/test-futimens.h index 648de67e0..ffb0e5522 100644 --- a/tests/test-futimens.h +++ b/tests/test-futimens.h @@ -1,5 +1,5 @@ /* Test of file timestamp modification functions. - Copyright (C) 2009-2011 Free Software Foundation, Inc. + Copyright (C) 2009-2014 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 @@ -83,6 +83,7 @@ test_futimens (int (*func) (int, struct timespec const *), ASSERT (errno == EBADF); } { + close (99); errno = 0; ASSERT (func (99, NULL) == -1); ASSERT (errno == EBADF);