X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-unlinkat.c;h=430d1891c24755cdb085e2ab36f6a133fb194cad;hb=10302c2e3cd5a04446a4c9fb4ece0beceed30373;hp=7d25b6edecc3e77f3070534e782f539f8156d778;hpb=d6095bd826d000e03e6071725a9f0436d3bf3129;p=gnulib.git diff --git a/tests/test-unlinkat.c b/tests/test-unlinkat.c index 7d25b6ede..430d1891c 100644 --- a/tests/test-unlinkat.c +++ b/tests/test-unlinkat.c @@ -1,5 +1,5 @@ /* Tests of unlinkat. - Copyright (C) 2009-2011 Free Software Foundation, Inc. + Copyright (C) 2009-2013 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 @@ -75,6 +75,7 @@ main (int argc _GL_UNUSED, char *argv[]) ASSERT (errno == EBADF); } { + close (99); errno = 0; ASSERT (unlinkat (99, "foo", 0) == -1); ASSERT (errno == EBADF);