block-sha1: improve code on large-register-set machines
[git/dscho.git] / t / t5521-pull-options.sh
blob83e2e8ab800a2f664085b7350272727748512e42
1 #!/bin/sh
3 test_description='pull options'
5 . ./test-lib.sh
7 D=`pwd`
9 test_expect_success 'setup' '
10 mkdir parent &&
11 (cd parent && git init &&
12 echo one >file && git add file &&
13 git commit -m one)
16 cd "$D"
18 test_expect_success 'git pull -q' '
19 mkdir clonedq &&
20 cd clonedq &&
21 git pull -q "$D/parent" >out 2>err &&
22 test ! -s out
25 cd "$D"
27 test_expect_success 'git pull' '
28 mkdir cloned &&
29 cd cloned &&
30 git pull "$D/parent" >out 2>err &&
31 test -s out
33 cd "$D"
35 test_expect_success 'git pull -v' '
36 mkdir clonedv &&
37 cd clonedv &&
38 git pull -v "$D/parent" >out 2>err &&
39 test -s out
42 cd "$D"
44 test_expect_success 'git pull -v -q' '
45 mkdir clonedvq &&
46 cd clonedvq &&
47 git pull -v -q "$D/parent" >out 2>err &&
48 test ! -s out
51 cd "$D"
53 test_expect_success 'git pull -q -v' '
54 mkdir clonedqv &&
55 cd clonedqv &&
56 git pull -q -v "$D/parent" >out 2>err &&
57 test -s out
60 test_done