summaryrefslogtreecommitdiff
path: root/test/lsrc-tags.t
blob: 97f77db78986c07026044acad72c27fa19daa31b (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
  /*/.example:/*/.dotfiles/example (glob)
  /*/.f-example:/*/.dotfiles/tag-foo/f-example (glob)
  /*/.b-example:/*/.dotfiles/tag-bar/b-example (glob)