Skip to content

Commit db611f4

Browse files
authored
Add docs for the new link_target field. (#885)
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
1 parent 623da9a commit db611f4

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

website/docs/testing.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,17 @@ tests:
164164
permissions: 0644
165165
```
166166

167+
#### Symlinks
168+
169+
To check the target of a symlink set the `link_target` field:
170+
171+
```yaml
172+
tests:
173+
- name: My Test case
174+
files:
175+
/some/path:
176+
link_target: /expected/target
177+
```
167178

168179
### Run a command
169180

0 commit comments

Comments
 (0)