aboutsummaryrefslogtreecommitdiff
path: root/posix
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 /posix
parent136fa185fdb24a1a6e6fc94e8b84e8f95e510d93 (diff)
downloadglibc-b30082799dfcd55ccbffce1dd74179d02ee1f41c.zip
glibc-b30082799dfcd55ccbffce1dd74179d02ee1f41c.tar.gz
glibc-b30082799dfcd55ccbffce1dd74179d02ee1f41c.tar.bz2
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".
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-regex.c2
-rw-r--r--posix/tst-regex2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/posix/tst-regex.c b/posix/tst-regex.c
index df2c108..90a8ccb 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 0d82c2a..5e624cb 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");