Commit 0efbfc3261345ea74f83859461e1c67342d6fd83

Authored by Shrikant Sharat
1 parent b6db07ac27

Fix tests to work with the new make_local_clone.

Showing 2 changed files with 5 additions and 5 deletions Inline Diff

1 Load a plugin. 1 Load a plugin.
2 2
3 $ antigen-bundle $PLUGIN_DIR 3 $ antigen-bundle $PLUGIN_DIR
4 Cloning into '*'... (glob) 4 Cloning into '*'... (glob)
5 done. 5 done.
6 6
7 Check the listing. 7 Check the listing.
8 8
9 $ antigen-list 9 $ antigen-list
10 */test-plugin / plugin false (glob) 10 */test-plugin / plugin true (glob)
11 11
12 Clear out the bundles record. 12 Clear out the bundles record.
13 13
14 $ _ANTIGEN_BUNDLE_RECORD="" 14 $ _ANTIGEN_BUNDLE_RECORD=""
15 15
16 Check the listing, after clearing the record. 16 Check the listing, after clearing the record.
17 17
18 $ antigen-list 18 $ antigen-list
19 You don't have any bundles. 19 You don't have any bundles.
20 [1] 20 [1]
21 21
22 Confirm the plugin directory exists. 22 Confirm the plugin directory exists.
23 23
24 $ ls dot-antigen/repos | wc -l 24 $ ls dot-antigen/repos | wc -l
25 1 25 1
26 26
27 Do the cleanup. 27 Do the cleanup.
28 28
29 $ antigen-cleanup --force 29 $ antigen-cleanup --force
30 You have clones for the following repos, but are not used. 30 You have clones for the following repos, but are not used.
31 */test-plugin (glob) 31 */test-plugin (glob)
32 32
33 33
34 Deleting clone for */test-plugin... done. (glob) 34 Deleting clone for */test-plugin... done. (glob)
35 35
36 Check the listing, after cleanup. 36 Check the listing, after cleanup.
37 37
38 $ antigen-list 38 $ antigen-list
39 You don't have any bundles. 39 You don't have any bundles.
40 [1] 40 [1]
41 41
42 Confirm the plugin directory does not exist after cleanup. 42 Confirm the plugin directory does not exist after cleanup.
43 43
44 $ ls dot-antigen/repos | wc -l 44 $ ls dot-antigen/repos | wc -l
45 0 45 0
46 46
1 Empty initial listing. 1 Empty initial listing.
2 2
3 $ antigen-list 3 $ antigen-list
4 You don't have any bundles. 4 You don't have any bundles.
5 [1] 5 [1]
6 6
7 Add a bundle. 7 Add a bundle.
8 8
9 $ antigen-bundle $PLUGIN_DIR 9 $ antigen-bundle $PLUGIN_DIR
10 Cloning into '.+?'\.\.\. (re) 10 Cloning into '.+?'\.\.\. (re)
11 done. 11 done.
12 $ antigen-list 12 $ antigen-list
13 */test-plugin / plugin false (glob) 13 */test-plugin / plugin true (glob)
14 14
15 Add same bundle and check uniqueness. 15 Add same bundle and check uniqueness.
16 16
17 $ antigen-bundle $PLUGIN_DIR 17 $ antigen-bundle $PLUGIN_DIR
18 $ antigen-list 18 $ antigen-list
19 */test-plugin / plugin false (glob) 19 */test-plugin / plugin true (glob)
20 20
21 Add another bundle. 21 Add another bundle.
22 22
23 $ antigen-bundle $PLUGIN_DIR2 23 $ antigen-bundle $PLUGIN_DIR2
24 Cloning into '.+?'\.\.\. (re) 24 Cloning into '.+?'\.\.\. (re)
25 done. 25 done.
26 $ antigen-list 26 $ antigen-list
27 */test-plugin / plugin false (glob) 27 */test-plugin / plugin true (glob)
28 */test-plugin2 / plugin false (glob) 28 */test-plugin2 / plugin true (glob)
29 29