Skip to content

Commit 47a528a

Browse files
Nanako Shiraishigitster
authored andcommitted
tests: use "git xyzzy" form (t7200 - t9001)
Converts tests between t7201-t9001. Signed-off-by: Nanako Shiraishi <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d592b31 commit 47a528a

18 files changed

+99
-99
lines changed

t/t7201-co.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (c) 2006 Junio C Hamano
44
#
55

6-
test_description='git-checkout tests.
6+
test_description='git checkout tests.
77
88
Creates master, forks renamer and side branches from it.
99
Test switching across them.

t/t7300-clean.sh

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (c) 2007 Michael Spang
44
#
55

6-
test_description='git-clean basic tests'
6+
test_description='git clean basic tests'
77

88
. ./test-lib.sh
99

@@ -16,17 +16,17 @@ test_expect_success 'setup' '
1616
echo build >.gitignore &&
1717
echo \*.o >>.gitignore &&
1818
git add . &&
19-
git-commit -m setup &&
19+
git commit -m setup &&
2020
touch src/part2.c README &&
2121
git add .
2222
2323
'
2424

25-
test_expect_success 'git-clean' '
25+
test_expect_success 'git clean' '
2626
2727
mkdir -p build docs &&
2828
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
29-
git-clean &&
29+
git clean &&
3030
test -f Makefile &&
3131
test -f README &&
3232
test -f src/part1.c &&
@@ -39,11 +39,11 @@ test_expect_success 'git-clean' '
3939
4040
'
4141

42-
test_expect_success 'git-clean src/' '
42+
test_expect_success 'git clean src/' '
4343
4444
mkdir -p build docs &&
4545
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
46-
git-clean src/ &&
46+
git clean src/ &&
4747
test -f Makefile &&
4848
test -f README &&
4949
test -f src/part1.c &&
@@ -56,11 +56,11 @@ test_expect_success 'git-clean src/' '
5656
5757
'
5858

59-
test_expect_success 'git-clean src/ src/' '
59+
test_expect_success 'git clean src/ src/' '
6060
6161
mkdir -p build docs &&
6262
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
63-
git-clean src/ src/ &&
63+
git clean src/ src/ &&
6464
test -f Makefile &&
6565
test -f README &&
6666
test -f src/part1.c &&
@@ -73,11 +73,11 @@ test_expect_success 'git-clean src/ src/' '
7373
7474
'
7575

76-
test_expect_success 'git-clean with prefix' '
76+
test_expect_success 'git clean with prefix' '
7777
7878
mkdir -p build docs src/test &&
7979
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so src/test/1.c &&
80-
(cd src/ && git-clean) &&
80+
(cd src/ && git clean) &&
8181
test -f Makefile &&
8282
test -f README &&
8383
test -f src/part1.c &&
@@ -91,7 +91,7 @@ test_expect_success 'git-clean with prefix' '
9191
9292
'
9393

94-
test_expect_success 'git-clean with relative prefix' '
94+
test_expect_success 'git clean with relative prefix' '
9595
9696
mkdir -p build docs &&
9797
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
@@ -106,7 +106,7 @@ test_expect_success 'git-clean with relative prefix' '
106106
}
107107
'
108108

109-
test_expect_success 'git-clean with absolute path' '
109+
test_expect_success 'git clean with absolute path' '
110110
111111
mkdir -p build docs &&
112112
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
@@ -121,7 +121,7 @@ test_expect_success 'git-clean with absolute path' '
121121
}
122122
'
123123

124-
test_expect_success 'git-clean with out of work tree relative path' '
124+
test_expect_success 'git clean with out of work tree relative path' '
125125
126126
mkdir -p build docs &&
127127
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
@@ -131,7 +131,7 @@ test_expect_success 'git-clean with out of work tree relative path' '
131131
)
132132
'
133133

134-
test_expect_success 'git-clean with out of work tree absolute path' '
134+
test_expect_success 'git clean with out of work tree absolute path' '
135135
136136
mkdir -p build docs &&
137137
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
@@ -142,11 +142,11 @@ test_expect_success 'git-clean with out of work tree absolute path' '
142142
)
143143
'
144144

145-
test_expect_success 'git-clean -d with prefix and path' '
145+
test_expect_success 'git clean -d with prefix and path' '
146146
147147
mkdir -p build docs src/feature &&
148148
touch a.out src/part3.c src/feature/file.c docs/manual.txt obj.o build/lib.so &&
149-
(cd src/ && git-clean -d feature/) &&
149+
(cd src/ && git clean -d feature/) &&
150150
test -f Makefile &&
151151
test -f README &&
152152
test -f src/part1.c &&
@@ -160,12 +160,12 @@ test_expect_success 'git-clean -d with prefix and path' '
160160
161161
'
162162

163-
test_expect_success 'git-clean symbolic link' '
163+
test_expect_success 'git clean symbolic link' '
164164
165165
mkdir -p build docs &&
166166
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
167167
ln -s docs/manual.txt src/part4.c
168-
git-clean &&
168+
git clean &&
169169
test -f Makefile &&
170170
test -f README &&
171171
test -f src/part1.c &&
@@ -179,10 +179,10 @@ test_expect_success 'git-clean symbolic link' '
179179
180180
'
181181

182-
test_expect_success 'git-clean with wildcard' '
182+
test_expect_success 'git clean with wildcard' '
183183
184184
touch a.clean b.clean other.c &&
185-
git-clean "*.clean" &&
185+
git clean "*.clean" &&
186186
test -f Makefile &&
187187
test -f README &&
188188
test -f src/part1.c &&
@@ -193,11 +193,11 @@ test_expect_success 'git-clean with wildcard' '
193193
194194
'
195195

196-
test_expect_success 'git-clean -n' '
196+
test_expect_success 'git clean -n' '
197197
198198
mkdir -p build docs &&
199199
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
200-
git-clean -n &&
200+
git clean -n &&
201201
test -f Makefile &&
202202
test -f README &&
203203
test -f src/part1.c &&
@@ -210,11 +210,11 @@ test_expect_success 'git-clean -n' '
210210
211211
'
212212

213-
test_expect_success 'git-clean -d' '
213+
test_expect_success 'git clean -d' '
214214
215215
mkdir -p build docs &&
216216
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
217-
git-clean -d &&
217+
git clean -d &&
218218
test -f Makefile &&
219219
test -f README &&
220220
test -f src/part1.c &&
@@ -227,11 +227,11 @@ test_expect_success 'git-clean -d' '
227227
228228
'
229229

230-
test_expect_success 'git-clean -d src/ examples/' '
230+
test_expect_success 'git clean -d src/ examples/' '
231231
232232
mkdir -p build docs examples &&
233233
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so examples/1.c &&
234-
git-clean -d src/ examples/ &&
234+
git clean -d src/ examples/ &&
235235
test -f Makefile &&
236236
test -f README &&
237237
test -f src/part1.c &&
@@ -245,11 +245,11 @@ test_expect_success 'git-clean -d src/ examples/' '
245245
246246
'
247247

248-
test_expect_success 'git-clean -x' '
248+
test_expect_success 'git clean -x' '
249249
250250
mkdir -p build docs &&
251251
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
252-
git-clean -x &&
252+
git clean -x &&
253253
test -f Makefile &&
254254
test -f README &&
255255
test -f src/part1.c &&
@@ -262,11 +262,11 @@ test_expect_success 'git-clean -x' '
262262
263263
'
264264

265-
test_expect_success 'git-clean -d -x' '
265+
test_expect_success 'git clean -d -x' '
266266
267267
mkdir -p build docs &&
268268
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
269-
git-clean -d -x &&
269+
git clean -d -x &&
270270
test -f Makefile &&
271271
test -f README &&
272272
test -f src/part1.c &&
@@ -279,11 +279,11 @@ test_expect_success 'git-clean -d -x' '
279279
280280
'
281281

282-
test_expect_success 'git-clean -X' '
282+
test_expect_success 'git clean -X' '
283283
284284
mkdir -p build docs &&
285285
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
286-
git-clean -X &&
286+
git clean -X &&
287287
test -f Makefile &&
288288
test -f README &&
289289
test -f src/part1.c &&
@@ -296,11 +296,11 @@ test_expect_success 'git-clean -X' '
296296
297297
'
298298

299-
test_expect_success 'git-clean -d -X' '
299+
test_expect_success 'git clean -d -X' '
300300
301301
mkdir -p build docs &&
302302
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
303-
git-clean -d -X &&
303+
git clean -d -X &&
304304
test -f Makefile &&
305305
test -f README &&
306306
test -f src/part1.c &&
@@ -331,7 +331,7 @@ test_expect_success 'clean.requireForce and -n' '
331331
332332
mkdir -p build docs &&
333333
touch a.out src/part3.c docs/manual.txt obj.o build/lib.so &&
334-
git-clean -n &&
334+
git clean -n &&
335335
test -f Makefile &&
336336
test -f README &&
337337
test -f src/part1.c &&
@@ -346,7 +346,7 @@ test_expect_success 'clean.requireForce and -n' '
346346

347347
test_expect_success 'clean.requireForce and -f' '
348348
349-
git-clean -f &&
349+
git clean -f &&
350350
test -f README &&
351351
test -f src/part1.c &&
352352
test -f src/part2.c &&

0 commit comments

Comments
 (0)