From af81e33126e62891676f8c6706dc4aed4037753a Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Sat, 19 Jan 2013 11:38:26 +0530 Subject: [PATCH] Test cleanup with two plugins loaded. --- tests/cleanup.t | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/cleanup.t b/tests/cleanup.t index 7005679..f0b6489 100644 --- a/tests/cleanup.t +++ b/tests/cleanup.t @@ -3,16 +3,20 @@ Firstly, no plugins, nothing to cleanup. $ antigen-cleanup --force You don't have any bundles. -Load a plugin. +Load the plugins. $ antigen-bundle $PLUGIN_DIR Cloning into '*'... (glob) done. + $ antigen-bundle $PLUGIN_DIR2 + Cloning into '*'... (glob) + done. Check the listing. $ antigen-list */test-plugin / plugin true (glob) + */test-plugin2 / plugin true (glob) Nothing should be available for cleanup. @@ -32,16 +36,18 @@ Check the listing, after clearing the record. Confirm the plugin directory exists. $ ls dot-antigen/repos | wc -l - 1 + 2 Do the cleanup. $ antigen-cleanup --force You have clones for the following repos, but are not used. */test-plugin (glob) + */test-plugin2 (glob) Deleting clone for */test-plugin... done. (glob) + Deleting clone for */test-plugin2... done. (glob) Check the listing, after cleanup. -- 2.0.0