diff options
Diffstat (limited to 'test/lsrc-undotted-star.t')
-rw-r--r-- | test/lsrc-undotted-star.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/lsrc-undotted-star.t b/test/lsrc-undotted-star.t new file mode 100644 index 0000000..04db053 --- /dev/null +++ b/test/lsrc-undotted-star.t @@ -0,0 +1,14 @@ + $ . "$TESTDIR/helper.sh" + +Should undot files with -U, with wildcard * expansion + + $ touch .dotfiles/example + > touch .dotfiles/undotted + + $ lsrc -v -U '*' + /*/example:/*/.dotfiles/example (glob) + /*/undotted:/*/.dotfiles/undotted (glob) + + $ lsrc -v -U '*:*' + /*/example:/*/.dotfiles/example (glob) + /*/undotted:/*/.dotfiles/undotted (glob) |