summaryrefslogtreecommitdiff
path: root/test/mkrc-host-file.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/mkrc-host-file.t')
-rw-r--r--test/mkrc-host-file.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/mkrc-host-file.t b/test/mkrc-host-file.t
new file mode 100644
index 0000000..3f13c6c
--- /dev/null
+++ b/test/mkrc-host-file.t
@@ -0,0 +1,9 @@
+ $ . "$TESTDIR/helper.sh"
+
+Passing -o should put it in a host
+
+ $ touch .example
+
+ $ mkrc -o .example >/dev/null
+
+ $ assert_linked "$HOME/.example" "$HOME/.dotfiles/host-$(hostname)/example"