summaryrefslogtreecommitdiff
path: root/test/lsrc-tags.t
blob: 4913dafe495e460461d220622cad69b64f7bc0fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
  /*/.f-example:/*/.dotfiles/tag-foo/f-example (glob)
  /*/.b-example:/*/.dotfiles/tag-bar/b-example (glob)
  /*/.example:/*/.dotfiles/example (glob)