libstdc++: testsuite: conditionalize another symlink test

In the recent patch that introduced NO_SYMLINKS, I missed one of the
testcases that created symlinks.


for  libstdc++-v3/ChangeLog

	* testsuite/27_io/filesystem/iterators/recursive_directory_iterator.cc
	(test06): Don't create symlinks when NO_SYMLINKS is defined.
This commit is contained in:
Alexandre Oliva 2022-06-27 10:34:15 -03:00 committed by Alexandre Oliva
parent 250b95a994
commit ca35ebaec8
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ test05()
void
test06()
{
#if !(defined __MINGW32__ || defined __MINGW64__)
#ifndef NO_SYMLINKS
auto p = __gnu_test::nonexistent_path();
create_directories(p/"d1/d2");
create_directory_symlink("d1", p/"link");