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".
This commit is contained in:
H.J. Lu 2017-09-01 10:20:49 -07:00
parent 136fa185fd
commit b30082799d
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
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

View File

@ -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));

View File

@ -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");