Commit af81e33126e62891676f8c6706dc4aed4037753a

Authored by Shrikant Sharat
1 parent 9a97880f48

Test cleanup with two plugins loaded.

Showing 1 changed file with 8 additions and 2 deletions Side-by-side Diff

... ... @@ -3,16 +3,20 @@ Firstly, no plugins, nothing to cleanup.
3 3 $ antigen-cleanup --force
4 4 You don't have any bundles.
5 5  
6   -Load a plugin.
  6 +Load the plugins.
7 7  
8 8 $ antigen-bundle $PLUGIN_DIR
9 9 Cloning into '*'... (glob)
10 10 done.
  11 + $ antigen-bundle $PLUGIN_DIR2
  12 + Cloning into '*'... (glob)
  13 + done.
11 14  
12 15 Check the listing.
13 16  
14 17 $ antigen-list
15 18 */test-plugin / plugin true (glob)
  19 + */test-plugin2 / plugin true (glob)
16 20  
17 21 Nothing should be available for cleanup.
18 22  
... ... @@ -32,16 +36,18 @@ Check the listing, after clearing the record.
32 36 Confirm the plugin directory exists.
33 37  
34 38 $ ls dot-antigen/repos | wc -l
35   - 1
  39 + 2
36 40  
37 41 Do the cleanup.
38 42  
39 43 $ antigen-cleanup --force
40 44 You have clones for the following repos, but are not used.
41 45 */test-plugin (glob)
  46 + */test-plugin2 (glob)
42 47  
43 48  
44 49 Deleting clone for */test-plugin... done. (glob)
  50 + Deleting clone for */test-plugin2... done. (glob)
45 51  
46 52 Check the listing, after cleanup.
47 53