about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-09-01 10:20:49 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-09-01 10:20:49 -0700
commitb30082799dfcd55ccbffce1dd74179d02ee1f41c (patch)
treed6ecc0ba39a422ff02e389e29f041798f26a0824
parent136fa185fdb24a1a6e6fc94e8b84e8f95e510d93 (diff)
downloadglibc-b30082799dfcd55ccbffce1dd74179d02ee1f41c.tar.gz
glibc-b30082799dfcd55ccbffce1dd74179d02ee1f41c.tar.xz
glibc-b30082799dfcd55ccbffce1dd74179d02ee1f41c.zip
Update tst-regex.c/tst-regex2.c for old ChangeLog move
	* posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
	"../ChangeLog.old/ChangeLog.8".
	* posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
	"../ChangeLog.old/ChangeLog.14".
-rw-r--r--ChangeLog7
-rw-r--r--posix/tst-regex.c2
-rw-r--r--posix/tst-regex2.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a142d38508..b06aeda7c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-09-01  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
+	"../ChangeLog.old/ChangeLog.8".
+	* posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
+	"../ChangeLog.old/ChangeLog.14".
+
+2017-09-01  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* manual/contrib.texi: Credit Ulrich Drepper for the POSIX
 	Threads Library.
 
diff --git a/posix/tst-regex.c b/posix/tst-regex.c
index df2c108be5..90a8ccb088 100644
--- a/posix/tst-regex.c
+++ b/posix/tst-regex.c
@@ -67,7 +67,7 @@ do_test (void)
   mtrace ();
 
   /* Make the content of the file available in memory.  */
-  file = "../ChangeLog.8";
+  file = "../ChangeLog.old/ChangeLog.8";
   fd = open (file, O_RDONLY);
   if (fd == -1)
     error (EXIT_FAILURE, errno, "cannot open %s", basename (file));
diff --git a/posix/tst-regex2.c b/posix/tst-regex2.c
index 0d82c2acdd..5e624cb5c2 100644
--- a/posix/tst-regex2.c
+++ b/posix/tst-regex2.c
@@ -33,7 +33,7 @@ do_test (void)
     "((((((((((.?))))))))))((((((((((.?))))))))))((((((((((.?))))))))))"
     "((((((((((.?))))))))))Log\\.13" };
 
-  int fd = open ("../ChangeLog.14", O_RDONLY);
+  int fd = open ("../ChangeLog.old/ChangeLog.14", O_RDONLY);
   if (fd < 0)
     {
       printf ("Couldn't open ChangeLog.14: %m\n");