diff options
Diffstat (limited to 'test/lsrc-tags.t')
-rw-r--r-- | test/lsrc-tags.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/lsrc-tags.t b/test/lsrc-tags.t new file mode 100644 index 0000000..97f77db --- /dev/null +++ b/test/lsrc-tags.t @@ -0,0 +1,14 @@ + $ . "$TESTDIR/helper.sh" + +Should include entries that match passed tags + + $ touch .dotfiles/example + > mkdir .dotfiles/tag-foo + > touch .dotfiles/tag-foo/f-example + > mkdir .dotfiles/tag-bar + > touch .dotfiles/tag-bar/b-example + + $ lsrc -t foo -t bar + /*/.example:/*/.dotfiles/example (glob) + /*/.f-example:/*/.dotfiles/tag-foo/f-example (glob) + /*/.b-example:/*/.dotfiles/tag-bar/b-example (glob) |