test-faccessat.c: unlink temp file to avoid subsequent test failure
authorPádraig Brady <P@draigBrady.com>
Mon, 11 Dec 2017 01:41:57 +0000 (17:41 -0800)
committerPádraig Brady <P@draigBrady.com>
Mon, 11 Dec 2017 01:46:21 +0000 (17:46 -0800)
* tests/test-faccessat.c: Remove the file to avoid failure
to open the file on subsequent runs due to being created
with no permissions.

ChangeLog
tests/test-faccessat.c

index 96ba6d0ca397f21418ed36eb704d14418029bbcf..ccb526b5f2dadc2a17dc809867842873b3311345 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-12-10  Pádraig Brady  <P@draigBrady.com>
+
+       test-faccessat.c: unlink temp file to avoid subsequent test failure
+       * tests/test-faccessat.c: Remove the file to avoid failure
+       to open the file on subsequent runs due to being created
+       with no permissions.
+
 2017-12-10  Bruno Haible  <bruno@clisp.org>
 
        doc: New sect. "Modifying the build rules of a Gnulib import directory".
index fe1db4129c9a68218ef603378100da612d976998..e880faee5835529179954f6087f73ecd0f7ccdfa 100644 (file)
@@ -69,6 +69,7 @@ main (void)
       unlink (BASE "link3");
     }
   unlink (BASE "link1");
+  unlink (BASE "file");
 
   return 0;
 }