test/lsrc-tags.t
raw| 1 | $ . "$TESTDIR/helper.sh" |
| 2 | |
| 3 | Should include entries that match passed tags |
| 4 | |
| 5 | $ touch .dotfiles/example |
| 6 | > mkdir .dotfiles/tag-foo |
| 7 | > touch .dotfiles/tag-foo/f-example |
| 8 | > mkdir .dotfiles/tag-bar |
| 9 | > touch .dotfiles/tag-bar/b-example |
| 10 | |
| 11 | $ lsrc -t foo -t bar |
| 12 | /*/.f-example:/*/.dotfiles/tag-foo/f-example (glob) |
| 13 | /*/.b-example:/*/.dotfiles/tag-bar/b-example (glob) |
| 14 | /*/.example:/*/.dotfiles/example (glob) |