[libcxx] [test] Create symlink_to_dir as the right kind, as a directory symlink
authorMartin Storsjö <martin@martin.st>
Fri, 30 Oct 2020 23:01:28 +0000 (01:01 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 3 Nov 2020 07:32:52 +0000 (09:32 +0200)
This was missed in 5c39eebc126d.

Differential Revision: https://reviews.llvm.org/D90600

libcxx/test/support/filesystem_test_helper.h

index 1cf6bff..ce0a0b6 100644 (file)
@@ -330,7 +330,7 @@ public:
         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);
     }