Blame view

tests/no_local_clone.t 693 Bytes
c90b21fa3   Shrikant Sharat   Tests for no_loca...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  Load the plugin with no local clone.
  
    $ antigen-bundle $PLUGIN_DIR --no-local-clone
  
  Check if the plugin is loaded correctly.
  
    $ hehe
    hehe
  
  Confirm no clone is made.
  
    $ test -d dot-antigen
    [1]
  
  Load the plugin with a clone.
  
    $ antigen-bundle $PLUGIN_DIR
    Cloning into '*'... (glob)
    done.
dc2d37ff0   Shrikant Sharat   It appears git ch...
20
    Checking connectivity... done
c90b21fa3   Shrikant Sharat   Tests for no_loca...
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  
  Empty the record.
  
    $ _ANTIGEN_BUNDLE_RECORD=
  
  Load the plugin again with no local clone.
  
    $ antigen-bundle $PLUGIN_DIR --no-local-clone
  
  The cleanup should list the bundle's clone.
  
    $ antigen-cleanup --force
    You have clones for the following repos, but are not used.
      */test-plugin (glob)
    
    
    Deleting clone for */test-plugin... done. (glob)