From: Jim Meyering <meyering@fb.com>
Date: Tue, 28 Nov 2017 15:52:47 +0000 (-0800)
Subject: test-faccessat.c: correct BASE definition to avoid parallel test failure
X-Git-Tag: v1.0~5809
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=5033321fa5a962a580f3cf9fa7103159e0caa0f1;p=gnulib.git

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.
---

diff --git a/ChangeLog b/ChangeLog
index 3dab9a249c..9f458045c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/tests/test-faccessat.c b/tests/test-faccessat.c
index 53855ba91a..fe1db4129c 100644
--- a/tests/test-faccessat.c
+++ b/tests/test-faccessat.c
@@ -26,7 +26,7 @@ SIGNATURE_CHECK (faccessat, int, (int, const char *, int, int));
 
 #include "macros.h"
 
-#define BASE "test-lstat.t"
+#define BASE "test-faccessat.t"
 
 int
 main (void)