changeset 39171:965899796df4

test-faccessat.c: correct BASE definition to avoid parallel test failure * tests/test-faccessat.c (BASE): Define using this file's name, not that of test-lstat.c. Using the latter caused this test to fail sometimes when run concurrently with test-lstat.
author Jim Meyering <meyering@fb.com>
date Tue, 28 Nov 2017 07:52:47 -0800
parents a9880c3cc1e5
children 58c48c821739
files ChangeLog tests/test-faccessat.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Nov 27 08:46:28 2017 -0800
+++ b/ChangeLog	Tue Nov 28 07:52:47 2017 -0800
@@ -1,3 +1,10 @@
+2017-11-28  Jim Meyering  <meyering@fb.com>
+
+	test-faccessat.c: correct BASE definition to avoid parallel test failure
+	* tests/test-faccessat.c (BASE): Define using this file's name, not
+	that of test-lstat.c.  Using the latter caused this test to fail
+	sometimes when run concurrently with test-lstat.
+
 2017-11-27  Daiki Ueno  <ueno@gnu.org>
 
 	unicase: fix VPATH build
--- a/tests/test-faccessat.c	Mon Nov 27 08:46:28 2017 -0800
+++ b/tests/test-faccessat.c	Tue Nov 28 07:52:47 2017 -0800
@@ -26,7 +26,7 @@
 
 #include "macros.h"
 
-#define BASE "test-lstat.t"
+#define BASE "test-faccessat.t"
 
 int
 main (void)