[libcxx-commits] [libcxx] 1198724 - [libcxx] [test] Create symlink_to_dir as the right kind, as a directory symlink
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 2 23:33:30 PST 2020
Author: Martin Storsjö
Date: 2020-11-03T09:32:52+02:00
New Revision: 11987248c8aef5ba0dfeb5595df93616ac3d3c63
URL: https://github.com/llvm/llvm-project/commit/11987248c8aef5ba0dfeb5595df93616ac3d3c63
DIFF: https://github.com/llvm/llvm-project/commit/11987248c8aef5ba0dfeb5595df93616ac3d3c63.diff
LOG: [libcxx] [test] Create symlink_to_dir as the right kind, as a directory symlink
This was missed in 5c39eebc126d.
Differential Revision: https://reviews.llvm.org/D90600
Added:
Modified:
libcxx/test/support/filesystem_test_helper.h
Removed:
################################################################################
diff --git a/libcxx/test/support/filesystem_test_helper.h b/libcxx/test/support/filesystem_test_helper.h
index 1cf6bff87006..ce0a0b683174 100644
--- a/libcxx/test/support/filesystem_test_helper.h
+++ b/libcxx/test/support/filesystem_test_helper.h
@@ -330,7 +330,7 @@ class static_test_env {
env_.create_file("dir1/file2", 42);
env_.create_file("empty_file");
env_.create_file("non_empty_file", 42);
- env_.create_symlink("dir1", "symlink_to_dir", false);
+ env_.create_symlink("dir1", "symlink_to_dir", false, true);
env_.create_symlink("empty_file", "symlink_to_empty_file", false);
}
More information about the libcxx-commits
mailing list