mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Remove superfluous include on iosxr filesystems fact gathering (#21775)
The regex will catch only lines that start with 'Directory of' regardless. Also, fixing unit tests while at it.
This commit is contained in:
parent
9e6980a039
commit
ab4e83f288
4 changed files with 9 additions and 5 deletions
6
test/units/modules/network/iosxr/fixtures/dir_7all
Normal file
6
test/units/modules/network/iosxr/fixtures/dir_7all
Normal file
|
@ -0,0 +1,6 @@
|
|||
Directory of disk0:
|
||||
file1
|
||||
file2
|
||||
|
||||
Directory of flash0:
|
||||
file3
|
|
@ -1 +0,0 @@
|
|||
lollll
|
Loading…
Add table
Add a link
Reference in a new issue