Commit dc2d37ff0f5247d359b12eb9de90f2bd5e14117e

Authored by Shrikant Sharat
1 parent 164249dff9

It appears git changed its outputs a little bit.

The line `Checking connectivity... done` has been added to git's output. We need
to find a more reliable way to test these that doesn't break with git's output
changes.

Showing 11 changed files with 20 additions and 0 deletions Side-by-side Diff

tests/branch-bundle.t
... ... @@ -20,6 +20,7 @@ Load plugin from b1.
20 20 $ antigen-bundle $PLUGIN_DIR --branch=b1
21 21 Cloning into '.+?'\.\.\. (re)
22 22 done.
  23 + Checking connectivity... done
23 24 Switched to a new branch 'b1'
24 25 Branch b1 set up to track remote branch b1 from origin.
25 26 $ hehe
... ... @@ -34,5 +35,6 @@ Load plugin from master.
34 35 $ antigen-bundle $PLUGIN_DIR
35 36 Cloning into '.+?'\.\.\. (re)
36 37 done.
  38 + Checking connectivity... done
37 39 $ hehe
38 40 hehe
... ... @@ -3,6 +3,7 @@ Load plugin from master.
3 3 $ antigen-bundle $PLUGIN_DIR
4 4 Cloning into '*'... (glob)
5 5 done.
  6 + Checking connectivity... done
6 7 $ hehe
7 8 hehe
8 9  
... ... @@ -23,6 +24,7 @@ module.
23 24 $ antigen-bundle $PLUGIN_DIR2
24 25 Cloning into '*'... (glob)
25 26 done.
  27 + Checking connectivity... done
26 28 $ hehe2
27 29 hehe2
28 30  
... ... @@ -3,8 +3,10 @@ Add multiple bundles.
3 3 $ echo "$PLUGIN_DIR\n$PLUGIN_DIR2" | antigen-bundles
4 4 Cloning into '.+?'\.\.\. (re)
5 5 done.
  6 + Checking connectivity... done
6 7 Cloning into '.+?'\.\.\. (re)
7 8 done.
  9 + Checking connectivity... done
8 10  
9 11 Check if they are both applied.
10 12  
... ... @@ -23,8 +25,10 @@ Specify with indentation.
23 25 $ echo " $PLUGIN_DIR\n $PLUGIN_DIR2" | antigen-bundles
24 26 Cloning into '.+?'\.\.\. (re)
25 27 done.
  28 + Checking connectivity... done
26 29 Cloning into '.+?'\.\.\. (re)
27 30 done.
  31 + Checking connectivity... done
28 32  
29 33 Again, check if they are both applied.
30 34  
... ... @@ -8,9 +8,11 @@ Load the plugins.
8 8 $ antigen-bundle $PLUGIN_DIR
9 9 Cloning into '*'... (glob)
10 10 done.
  11 + Checking connectivity... done
11 12 $ antigen-bundle $PLUGIN_DIR2
12 13 Cloning into '*'... (glob)
13 14 done.
  15 + Checking connectivity... done
14 16  
15 17 Check the listing.
16 18  
... ... @@ -9,6 +9,7 @@ Add a bundle.
9 9 $ antigen-bundle $PLUGIN_DIR
10 10 Cloning into '.+?'\.\.\. (re)
11 11 done.
  12 + Checking connectivity... done
12 13 $ antigen-list
13 14 */test-plugin / plugin true (glob)
14 15  
... ... @@ -23,6 +24,7 @@ Add another bundle.
23 24 $ antigen-bundle $PLUGIN_DIR2
24 25 Cloning into '.+?'\.\.\. (re)
25 26 done.
  27 + Checking connectivity... done
26 28 $ antigen-list
27 29 */test-plugin / plugin true (glob)
28 30 */test-plugin2 / plugin true (glob)
tests/no_local_clone.t
... ... @@ -17,6 +17,7 @@ Load the plugin with a clone.
17 17 $ antigen-bundle $PLUGIN_DIR
18 18 Cloning into '*'... (glob)
19 19 done.
  20 + Checking connectivity... done
20 21  
21 22 Empty the record.
22 23  
tests/revert-update.t
... ... @@ -3,6 +3,7 @@ Load and test plugin.
3 3 $ antigen-bundle $PLUGIN_DIR
4 4 Cloning into '.+?'\.\.\. (re)
5 5 done.
  6 + Checking connectivity... done
6 7 $ hehe
7 8 hehe
8 9  
... ... @@ -23,6 +23,7 @@ Create a normal repository cloning from host
23 23 $ git clone $TEST_HOST $TEST_NORMAL
24 24 Cloning into * (glob)
25 25 done.
  26 + Checking connectivity... done
26 27  
27 28 Create a submodule repository cloning from host
28 29  
... ... @@ -33,6 +34,7 @@ Create a submodule repository cloning from host
33 34 $ git submodule add $TEST_HOST antigen
34 35 Cloning into 'antigen'...
35 36 done.
  37 + Checking connectivity... done
36 38 $ git commit -m "1"
37 39 [master (root-commit) ???????] 1 (glob)
38 40 2 files changed, 4 insertions(+)
... ... @@ -3,9 +3,11 @@ Load a couple of plugins.
3 3 $ antigen-bundle $PLUGIN_DIR
4 4 Cloning into '*'... (glob)
5 5 done.
  6 + Checking connectivity... done
6 7 $ antigen-bundle $PLUGIN_DIR2
7 8 Cloning into '*'... (glob)
8 9 done.
  10 + Checking connectivity... done
9 11  
10 12 Create a snapshot file.
11 13  
... ... @@ -3,5 +3,6 @@ Load the theme explicitly.
3 3 $ antigen-theme $PLUGIN_DIR silly
4 4 Cloning into '*'... (glob)
5 5 done.
  6 + Checking connectivity... done
6 7 $ echo "$PS1"
7 8 prompt>
... ... @@ -3,6 +3,7 @@ Load plugin.
3 3 $ antigen-bundle $PLUGIN_DIR
4 4 Cloning into '.+?'\.\.\. (re)
5 5 done.
  6 + Checking connectivity... done
6 7 $ hehe
7 8 hehe
8 9