t0050: Use TAB for indentation
Use one TAB for indentation and remove empty lines Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Torsten Bögershausen committed
Jan 21, 2013 at 17:46 UTC
336e2e27bd46636823dfdbf6471e579bec56595f
1 file changed
+15
-33
t/t0050-filesystem.sh
+15
-33
@@ -29,12 +29,10 @@ test_have_prereq SYMLINKS ||
29
if test_have_prereq CASE_INSENSITIVE_FS
30
then
31
test_expect_success "detection of case insensitive filesystem during repo init" '
32
-
32
test $(git config --bool core.ignorecase) = true
33
'
34
else
35
test_expect_success "detection of case insensitive filesystem during repo init" '
37
-
36
test_must_fail git config --bool core.ignorecase >/dev/null ||
37
test $(git config --bool core.ignorecase) = false
38
'
@@ -43,20 +41,17 @@ fi
41
if test_have_prereq SYMLINKS
42
then
43
test_expect_success "detection of filesystem w/o symlink support during repo init" '
46
-
44
test_must_fail git config --bool core.symlinks ||
45
test "$(git config --bool core.symlinks)" = true
46
'
47
else
48
test_expect_success "detection of filesystem w/o symlink support during repo init" '
52
-
49
v=$(git config --bool core.symlinks) &&
50
test "$v" = false
51
'
52
fi
53
54
test_expect_success "setup case tests" '
59
-
55
git config core.ignorecase true &&
56
touch camelcase &&
57
git add camelcase &&
@@ -67,29 +62,23 @@ test_expect_success "setup case tests" '
62
git mv tmp CamelCase &&
63
git commit -m "rename" &&
64
git checkout -f master
70
-
65
'
66
67
$test_case 'rename (case change)' '
74
-
68
git mv camelcase CamelCase &&
69
git commit -m "rename"
77
-
70
'
71
72
test_expect_success 'merge (case change)' '
81
-
73
rm -f CamelCase &&
74
rm -f camelcase &&
75
git reset --hard initial &&
76
git merge topic
86
-
77
'
78
79
80
81
test_expect_failure CASE_INSENSITIVE_FS 'add (with different case)' '
92
-
82
git reset --hard initial &&
83
rm camelcase &&
84
echo 1 >CamelCase &&
@@ -97,37 +86,30 @@ test_expect_failure CASE_INSENSITIVE_FS 'add (with different case)' '
86
camel=$(git ls-files | grep -i camelcase) &&
87
test $(echo "$camel" | wc -l) = 1 &&
88
test "z$(git cat-file blob :$camel)" = z1
100
-
89
'
90
91
test_expect_success "setup unicode normalization tests" '
104
-
105
- test_create_repo unicode &&
106
- cd unicode &&
107
- touch "$aumlcdiar" &&
108
- git add "$aumlcdiar" &&
109
- git commit -m initial &&
110
- git tag initial &&
111
- git checkout -b topic &&
112
- git mv $aumlcdiar tmp &&
113
- git mv tmp "$auml" &&
114
- git commit -m rename &&
115
- git checkout -f master
116
-
92
+ test_create_repo unicode &&
93
+ cd unicode &&
94
+ touch "$aumlcdiar" &&
95
+ git add "$aumlcdiar" &&
96
+ git commit -m initial &&
97
+ git tag initial &&
98
+ git checkout -b topic &&
99
+ git mv $aumlcdiar tmp &&
100
+ git mv tmp "$auml" &&
101
+ git commit -m rename &&
102
+ git checkout -f master
103
'
104
105
$test_unicode 'rename (silent unicode normalization)' '
120
-
121
- git mv "$aumlcdiar" "$auml" &&
122
- git commit -m rename
123
-
106
+ git mv "$aumlcdiar" "$auml" &&
107
+ git commit -m rename
108
'
109
110
$test_unicode 'merge (silent unicode normalization)' '
127
-
128
- git reset --hard initial &&
129
- git merge topic
130
-
111
+ git reset --hard initial &&
112
+ git merge topic
113
'
114
115
test_done