changeset 39180:eb2faa3cbde4

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.
author Pádraig Brady <P@draigBrady.com>
date Sun, 10 Dec 2017 17:41:57 -0800
parents c1c9d3013c37
children a04e30c20642
files ChangeLog tests/test-faccessat.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Dec 10 16:28:43 2017 +0100
+++ b/ChangeLog	Sun Dec 10 17:41:57 2017 -0800
@@ -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".
--- a/tests/test-faccessat.c	Sun Dec 10 16:28:43 2017 +0100
+++ b/tests/test-faccessat.c	Sun Dec 10 17:41:57 2017 -0800
@@ -69,6 +69,7 @@
       unlink (BASE "link3");
     }
   unlink (BASE "link1");
+  unlink (BASE "file");
 
   return 0;
 }