summaryrefslogtreecommitdiff
path: root/test/mkrc-undotted.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/mkrc-undotted.t')
-rw-r--r--test/mkrc-undotted.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/mkrc-undotted.t b/test/mkrc-undotted.t
new file mode 100644
index 0000000..95dff18
--- /dev/null
+++ b/test/mkrc-undotted.t
@@ -0,0 +1,8 @@
+ $ . "$TESTDIR/helper.sh"
+ > touch random-dotfile
+
+Passing -U should make a file be undotted
+
+ $ mkrc -U random-dotfile >/dev/null
+
+ $ assert_linked "$HOME/random-dotfile" "$HOME/.dotfiles/random-dotfile"