summaryrefslogtreecommitdiff
path: root/test/tests/plugin-disable-builtin.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests/plugin-disable-builtin.bash')
-rw-r--r--test/tests/plugin-disable-builtin.bash17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/tests/plugin-disable-builtin.bash b/test/tests/plugin-disable-builtin.bash
new file mode 100644
index 0000000..f469b0f
--- /dev/null
+++ b/test/tests/plugin-disable-builtin.bash
@@ -0,0 +1,17 @@
+test_description='can disable built-in plugins'
+. '../test-lib.bash'
+
+test_expect_success 'setup' '
+echo "apple" > ${DOTFILES}/f
+'
+
+test_expect_failure 'run' '
+run_dotbot --disable-built-in-plugins <<EOF
+- link:
+ ~/.f: f
+EOF
+'
+
+test_expect_failure 'test' '
+test -f ~/.f
+'