summaryrefslogtreecommitdiff
path: root/test/lsrc-undotted.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsrc-undotted.t')
-rw-r--r--test/lsrc-undotted.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/lsrc-undotted.t b/test/lsrc-undotted.t
new file mode 100644
index 0000000..9b8737f
--- /dev/null
+++ b/test/lsrc-undotted.t
@@ -0,0 +1,11 @@
+ $ . "$TESTDIR/helper.sh"
+
+Should undot files with -U
+
+ $ touch .dotfiles/example
+ > touch .dotfiles/undotted
+
+ $ lsrc -U undotted
+ /*/.example:/*/.dotfiles/example (glob)
+ /*/undotted:/*/.dotfiles/undotted (glob)
+