Commit 19562db
committed
fileutils_test: check symlink directory location before test
In macOS and maybe some other systems, /tmp is a symlink to /private/tmp
or some other similar directory, so ReadSymlinkedDirectory ends up pointing
at a different directory than was created. Get the evaluated path of the
directory being created, and compare that to the result of
ReadSymlinkedDirectory.
Signed-off-by: Caleb Xu <caxu@redhat.com>1 parent 11843ce commit 19562db
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| |||
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
132 | | - | |
| 137 | + | |
133 | 138 | | |
134 | 139 | | |
135 | 140 | | |
| |||
0 commit comments