]>
Commit | Line | Data |
---|---|---|
942c1f53 JS |
1 | #!/bin/sh |
2 | # | |
3 | # Copyright (c) 2005 Johannes Schindelin | |
4 | # | |
5 | ||
5be60078 | 6 | test_description='Test git config in different settings' |
942c1f53 JS |
7 | |
8 | . ./test-lib.sh | |
9 | ||
10 | test -f .git/config && rm .git/config | |
11 | ||
5be60078 | 12 | git config core.penguin "little blue" |
942c1f53 JS |
13 | |
14 | cat > expect << EOF | |
942c1f53 JS |
15 | [core] |
16 | penguin = little blue | |
17 | EOF | |
18 | ||
19 | test_expect_success 'initial' 'cmp .git/config expect' | |
20 | ||
5be60078 | 21 | git config Core.Movie BadPhysics |
942c1f53 JS |
22 | |
23 | cat > expect << EOF | |
942c1f53 JS |
24 | [core] |
25 | penguin = little blue | |
26 | Movie = BadPhysics | |
27 | EOF | |
28 | ||
29 | test_expect_success 'mixed case' 'cmp .git/config expect' | |
30 | ||
5be60078 | 31 | git config Cores.WhatEver Second |
942c1f53 JS |
32 | |
33 | cat > expect << EOF | |
942c1f53 JS |
34 | [core] |
35 | penguin = little blue | |
36 | Movie = BadPhysics | |
37 | [Cores] | |
38 | WhatEver = Second | |
39 | EOF | |
40 | ||
41 | test_expect_success 'similar section' 'cmp .git/config expect' | |
42 | ||
5be60078 | 43 | git config CORE.UPPERCASE true |
942c1f53 JS |
44 | |
45 | cat > expect << EOF | |
942c1f53 JS |
46 | [core] |
47 | penguin = little blue | |
48 | Movie = BadPhysics | |
49 | UPPERCASE = true | |
50 | [Cores] | |
51 | WhatEver = Second | |
52 | EOF | |
53 | ||
54 | test_expect_success 'similar section' 'cmp .git/config expect' | |
55 | ||
f98d863d | 56 | test_expect_success 'replace with non-match' \ |
5be60078 | 57 | 'git config core.penguin kingpin !blue' |
f98d863d JS |
58 | |
59 | test_expect_success 'replace with non-match (actually matching)' \ | |
5be60078 | 60 | 'git config core.penguin "very blue" !kingpin' |
f98d863d JS |
61 | |
62 | cat > expect << EOF | |
f98d863d JS |
63 | [core] |
64 | penguin = very blue | |
65 | Movie = BadPhysics | |
66 | UPPERCASE = true | |
67 | penguin = kingpin | |
68 | [Cores] | |
69 | WhatEver = Second | |
70 | EOF | |
71 | ||
72 | test_expect_success 'non-match result' 'cmp .git/config expect' | |
73 | ||
942c1f53 JS |
74 | cat > .git/config << EOF |
75 | [beta] ; silly comment # another comment | |
76 | noIndent= sillyValue ; 'nother silly comment | |
77 | ||
78 | # empty line | |
79 | ; comment | |
80 | haha ="beta" # last silly comment | |
4ddba79d JS |
81 | haha = hello |
82 | haha = bello | |
942c1f53 JS |
83 | [nextSection] noNewline = ouch |
84 | EOF | |
85 | ||
4ddba79d JS |
86 | cp .git/config .git/config2 |
87 | ||
88 | test_expect_success 'multiple unset' \ | |
5be60078 | 89 | 'git config --unset-all beta.haha' |
4ddba79d JS |
90 | |
91 | cat > expect << EOF | |
92 | [beta] ; silly comment # another comment | |
93 | noIndent= sillyValue ; 'nother silly comment | |
94 | ||
95 | # empty line | |
96 | ; comment | |
97 | [nextSection] noNewline = ouch | |
98 | EOF | |
99 | ||
100 | test_expect_success 'multiple unset is correct' 'cmp .git/config expect' | |
101 | ||
102 | mv .git/config2 .git/config | |
103 | ||
104 | test_expect_success '--replace-all' \ | |
5be60078 | 105 | 'git config --replace-all beta.haha gamma' |
4ddba79d JS |
106 | |
107 | cat > expect << EOF | |
108 | [beta] ; silly comment # another comment | |
109 | noIndent= sillyValue ; 'nother silly comment | |
110 | ||
111 | # empty line | |
112 | ; comment | |
113 | haha = gamma | |
114 | [nextSection] noNewline = ouch | |
115 | EOF | |
116 | ||
117 | test_expect_success 'all replaced' 'cmp .git/config expect' | |
118 | ||
5be60078 | 119 | git config beta.haha alpha |
942c1f53 JS |
120 | |
121 | cat > expect << EOF | |
122 | [beta] ; silly comment # another comment | |
123 | noIndent= sillyValue ; 'nother silly comment | |
124 | ||
125 | # empty line | |
126 | ; comment | |
127 | haha = alpha | |
128 | [nextSection] noNewline = ouch | |
129 | EOF | |
130 | ||
131 | test_expect_success 'really mean test' 'cmp .git/config expect' | |
132 | ||
5be60078 | 133 | git config nextsection.nonewline wow |
942c1f53 JS |
134 | |
135 | cat > expect << EOF | |
136 | [beta] ; silly comment # another comment | |
137 | noIndent= sillyValue ; 'nother silly comment | |
138 | ||
139 | # empty line | |
140 | ; comment | |
141 | haha = alpha | |
142 | [nextSection] | |
143 | nonewline = wow | |
144 | EOF | |
145 | ||
146 | test_expect_success 'really really mean test' 'cmp .git/config expect' | |
147 | ||
5be60078 JH |
148 | test_expect_success 'get value' 'test alpha = $(git config beta.haha)' |
149 | git config --unset beta.haha | |
942c1f53 JS |
150 | |
151 | cat > expect << EOF | |
152 | [beta] ; silly comment # another comment | |
153 | noIndent= sillyValue ; 'nother silly comment | |
154 | ||
155 | # empty line | |
156 | ; comment | |
157 | [nextSection] | |
158 | nonewline = wow | |
159 | EOF | |
160 | ||
161 | test_expect_success 'unset' 'cmp .git/config expect' | |
162 | ||
5be60078 | 163 | git config nextsection.NoNewLine "wow2 for me" "for me$" |
942c1f53 JS |
164 | |
165 | cat > expect << EOF | |
166 | [beta] ; silly comment # another comment | |
167 | noIndent= sillyValue ; 'nother silly comment | |
168 | ||
169 | # empty line | |
170 | ; comment | |
171 | [nextSection] | |
172 | nonewline = wow | |
173 | NoNewLine = wow2 for me | |
174 | EOF | |
175 | ||
176 | test_expect_success 'multivar' 'cmp .git/config expect' | |
177 | ||
f98d863d | 178 | test_expect_success 'non-match' \ |
5be60078 | 179 | 'git config --get nextsection.nonewline !for' |
f98d863d JS |
180 | |
181 | test_expect_success 'non-match value' \ | |
5be60078 | 182 | 'test wow = $(git config --get nextsection.nonewline !for)' |
f98d863d | 183 | |
4ddba79d | 184 | test_expect_failure 'ambiguous get' \ |
5be60078 | 185 | 'git config --get nextsection.nonewline' |
4ddba79d JS |
186 | |
187 | test_expect_success 'get multivar' \ | |
5be60078 | 188 | 'git config --get-all nextsection.nonewline' |
4ddba79d | 189 | |
5be60078 | 190 | git config nextsection.nonewline "wow3" "wow$" |
942c1f53 JS |
191 | |
192 | cat > expect << EOF | |
193 | [beta] ; silly comment # another comment | |
194 | noIndent= sillyValue ; 'nother silly comment | |
195 | ||
196 | # empty line | |
197 | ; comment | |
198 | [nextSection] | |
199 | nonewline = wow3 | |
200 | NoNewLine = wow2 for me | |
201 | EOF | |
202 | ||
203 | test_expect_success 'multivar replace' 'cmp .git/config expect' | |
204 | ||
5be60078 | 205 | test_expect_failure 'ambiguous value' 'git config nextsection.nonewline' |
4ddba79d | 206 | |
942c1f53 | 207 | test_expect_failure 'ambiguous unset' \ |
5be60078 | 208 | 'git config --unset nextsection.nonewline' |
942c1f53 JS |
209 | |
210 | test_expect_failure 'invalid unset' \ | |
5be60078 | 211 | 'git config --unset somesection.nonewline' |
942c1f53 | 212 | |
5be60078 | 213 | git config --unset nextsection.nonewline "wow3$" |
942c1f53 JS |
214 | |
215 | cat > expect << EOF | |
216 | [beta] ; silly comment # another comment | |
217 | noIndent= sillyValue ; 'nother silly comment | |
218 | ||
219 | # empty line | |
220 | ; comment | |
221 | [nextSection] | |
222 | NoNewLine = wow2 for me | |
223 | EOF | |
224 | ||
225 | test_expect_success 'multivar unset' 'cmp .git/config expect' | |
226 | ||
5be60078 | 227 | test_expect_failure 'invalid key' 'git config inval.2key blabla' |
942c1f53 | 228 | |
5be60078 | 229 | test_expect_success 'correct key' 'git config 123456.a123 987' |
942c1f53 | 230 | |
b17e659d | 231 | test_expect_success 'hierarchical section' \ |
5be60078 | 232 | 'git config Version.1.2.3eX.Alpha beta' |
b17e659d JS |
233 | |
234 | cat > expect << EOF | |
235 | [beta] ; silly comment # another comment | |
236 | noIndent= sillyValue ; 'nother silly comment | |
237 | ||
238 | # empty line | |
239 | ; comment | |
240 | [nextSection] | |
241 | NoNewLine = wow2 for me | |
242 | [123456] | |
243 | a123 = 987 | |
d14f7764 LT |
244 | [Version "1.2.3eX"] |
245 | Alpha = beta | |
b17e659d JS |
246 | EOF |
247 | ||
248 | test_expect_success 'hierarchical section value' 'cmp .git/config expect' | |
249 | ||
2fa9a0fb JS |
250 | cat > expect << EOF |
251 | beta.noindent=sillyValue | |
252 | nextsection.nonewline=wow2 for me | |
253 | 123456.a123=987 | |
d55aaefa | 254 | version.1.2.3eX.alpha=beta |
2fa9a0fb JS |
255 | EOF |
256 | ||
257 | test_expect_success 'working --list' \ | |
5be60078 | 258 | 'git config --list > output && cmp output expect' |
2fa9a0fb JS |
259 | |
260 | cat > expect << EOF | |
261 | beta.noindent sillyValue | |
262 | nextsection.nonewline wow2 for me | |
263 | EOF | |
264 | ||
265 | test_expect_success '--get-regexp' \ | |
5be60078 | 266 | 'git config --get-regexp in > output && cmp output expect' |
2fa9a0fb | 267 | |
5be60078 | 268 | git config --add nextsection.nonewline "wow4 for you" |
89c4afe0 BG |
269 | |
270 | cat > expect << EOF | |
271 | wow2 for me | |
272 | wow4 for you | |
273 | EOF | |
274 | ||
275 | test_expect_success '--add' \ | |
5be60078 | 276 | 'git config --get-all nextsection.nonewline > output && cmp output expect' |
89c4afe0 | 277 | |
f067a137 JF |
278 | cat > .git/config << EOF |
279 | [novalue] | |
280 | variable | |
281 | EOF | |
282 | ||
283 | test_expect_success 'get variable with no value' \ | |
5be60078 | 284 | 'git config --get novalue.variable ^$' |
f067a137 | 285 | |
b69ba460 FL |
286 | echo novalue.variable > expect |
287 | ||
288 | test_expect_success 'get-regexp variable with no value' \ | |
5be60078 | 289 | 'git config --get-regexp novalue > output && |
b69ba460 FL |
290 | cmp output expect' |
291 | ||
5be60078 | 292 | git config > output 2>&1 |
2fa9a0fb JS |
293 | |
294 | test_expect_success 'no arguments, but no crash' \ | |
295 | "test $? = 129 && grep usage output" | |
296 | ||
bd886fd3 SE |
297 | cat > .git/config << EOF |
298 | [a.b] | |
299 | c = d | |
300 | EOF | |
301 | ||
5be60078 | 302 | git config a.x y |
bd886fd3 SE |
303 | |
304 | cat > expect << EOF | |
305 | [a.b] | |
306 | c = d | |
307 | [a] | |
308 | x = y | |
309 | EOF | |
310 | ||
311 | test_expect_success 'new section is partial match of another' 'cmp .git/config expect' | |
312 | ||
5be60078 JH |
313 | git config b.x y |
314 | git config a.b c | |
bd886fd3 SE |
315 | |
316 | cat > expect << EOF | |
317 | [a.b] | |
318 | c = d | |
319 | [a] | |
320 | x = y | |
321 | b = c | |
322 | [b] | |
323 | x = y | |
324 | EOF | |
325 | ||
326 | test_expect_success 'new variable inserts into proper section' 'cmp .git/config expect' | |
327 | ||
773a69fb AR |
328 | test_expect_success 'alternative GIT_CONFIG (non-existing file should fail)' \ |
329 | 'git config --file non-existing-config -l; test $? != 0' | |
330 | ||
9c3796fc JS |
331 | cat > other-config << EOF |
332 | [ein] | |
333 | bahn = strasse | |
334 | EOF | |
335 | ||
336 | cat > expect << EOF | |
337 | ein.bahn=strasse | |
338 | EOF | |
339 | ||
5be60078 | 340 | GIT_CONFIG=other-config git config -l > output |
9c3796fc JS |
341 | |
342 | test_expect_success 'alternative GIT_CONFIG' 'cmp output expect' | |
343 | ||
773a69fb AR |
344 | test_expect_success 'alternative GIT_CONFIG (--file)' \ |
345 | 'git config --file other-config -l > output && cmp output expect' | |
346 | ||
5be60078 | 347 | GIT_CONFIG=other-config git config anwohner.park ausweis |
9c3796fc JS |
348 | |
349 | cat > expect << EOF | |
350 | [ein] | |
351 | bahn = strasse | |
352 | [anwohner] | |
353 | park = ausweis | |
354 | EOF | |
355 | ||
356 | test_expect_success '--set in alternative GIT_CONFIG' 'cmp other-config expect' | |
357 | ||
0667fcfb JS |
358 | cat > .git/config << EOF |
359 | # Hallo | |
360 | #Bello | |
361 | [branch "eins"] | |
362 | x = 1 | |
363 | [branch.eins] | |
364 | y = 1 | |
365 | [branch "1 234 blabl/a"] | |
366 | weird | |
367 | EOF | |
368 | ||
369 | test_expect_success "rename section" \ | |
5be60078 | 370 | "git config --rename-section branch.eins branch.zwei" |
0667fcfb JS |
371 | |
372 | cat > expect << EOF | |
373 | # Hallo | |
374 | #Bello | |
375 | [branch "zwei"] | |
376 | x = 1 | |
377 | [branch "zwei"] | |
378 | y = 1 | |
379 | [branch "1 234 blabl/a"] | |
380 | weird | |
381 | EOF | |
382 | ||
5bd74506 | 383 | test_expect_success "rename succeeded" "git diff expect .git/config" |
0667fcfb JS |
384 | |
385 | test_expect_failure "rename non-existing section" \ | |
5be60078 | 386 | 'git config --rename-section branch."world domination" branch.drei' |
0667fcfb | 387 | |
5bd74506 | 388 | test_expect_success "rename succeeded" "git diff expect .git/config" |
0667fcfb JS |
389 | |
390 | test_expect_success "rename another section" \ | |
5be60078 | 391 | 'git config --rename-section branch."1 234 blabl/a" branch.drei' |
0667fcfb JS |
392 | |
393 | cat > expect << EOF | |
394 | # Hallo | |
395 | #Bello | |
396 | [branch "zwei"] | |
397 | x = 1 | |
398 | [branch "zwei"] | |
399 | y = 1 | |
400 | [branch "drei"] | |
401 | weird | |
402 | EOF | |
403 | ||
5bd74506 | 404 | test_expect_success "rename succeeded" "git diff expect .git/config" |
0667fcfb | 405 | |
118f8b24 PB |
406 | cat >> .git/config << EOF |
407 | [branch "zwei"] a = 1 [branch "vier"] | |
408 | EOF | |
409 | ||
410 | test_expect_success "remove section" "git config --remove-section branch.zwei" | |
411 | ||
412 | cat > expect << EOF | |
413 | # Hallo | |
414 | #Bello | |
415 | [branch "drei"] | |
416 | weird | |
417 | EOF | |
418 | ||
419 | test_expect_success "section was removed properly" \ | |
cf6981d4 | 420 | "git diff -u expect .git/config" |
118f8b24 | 421 | |
b18a2be3 SP |
422 | rm .git/config |
423 | ||
424 | cat > expect << EOF | |
425 | [gitcvs] | |
426 | enabled = true | |
427 | dbname = %Ggitcvs2.%a.%m.sqlite | |
428 | [gitcvs "ext"] | |
429 | dbname = %Ggitcvs1.%a.%m.sqlite | |
430 | EOF | |
431 | ||
432 | test_expect_success 'section ending' ' | |
433 | ||
5be60078 JH |
434 | git config gitcvs.enabled true && |
435 | git config gitcvs.ext.dbname %Ggitcvs1.%a.%m.sqlite && | |
436 | git config gitcvs.dbname %Ggitcvs2.%a.%m.sqlite && | |
b18a2be3 SP |
437 | cmp .git/config expect |
438 | ||
439 | ' | |
440 | ||
d77a64d3 SP |
441 | test_expect_success numbers ' |
442 | ||
5be60078 JH |
443 | git config kilo.gram 1k && |
444 | git config mega.ton 1m && | |
445 | k=$(git config --int --get kilo.gram) && | |
d77a64d3 | 446 | test z1024 = "z$k" && |
5be60078 | 447 | m=$(git config --int --get mega.ton) && |
d77a64d3 SP |
448 | test z1048576 = "z$m" |
449 | ' | |
450 | ||
c8deb5a1 SP |
451 | cat > expect <<EOF |
452 | fatal: bad config value for 'aninvalid.unit' in .git/config | |
453 | EOF | |
454 | ||
455 | test_expect_success 'invalid unit' ' | |
456 | ||
457 | git config aninvalid.unit "1auto" && | |
458 | s=$(git config aninvalid.unit) && | |
459 | test "z1auto" = "z$s" && | |
460 | if git config --int --get aninvalid.unit 2>actual | |
461 | then | |
462 | echo config should have failed | |
463 | false | |
464 | fi && | |
465 | cmp actual expect | |
466 | ' | |
467 | ||
cab333cb FL |
468 | cat > expect << EOF |
469 | true | |
470 | false | |
471 | true | |
472 | false | |
473 | true | |
474 | false | |
475 | true | |
476 | false | |
477 | EOF | |
478 | ||
479 | test_expect_success bool ' | |
480 | ||
5be60078 JH |
481 | git config bool.true1 01 && |
482 | git config bool.true2 -1 && | |
483 | git config bool.true3 YeS && | |
484 | git config bool.true4 true && | |
485 | git config bool.false1 000 && | |
486 | git config bool.false2 "" && | |
487 | git config bool.false3 nO && | |
488 | git config bool.false4 FALSE && | |
cab333cb FL |
489 | rm -f result && |
490 | for i in 1 2 3 4 | |
491 | do | |
5be60078 JH |
492 | git config --bool --get bool.true$i >>result |
493 | git config --bool --get bool.false$i >>result | |
cab333cb FL |
494 | done && |
495 | cmp expect result' | |
496 | ||
db1696b8 | 497 | test_expect_failure 'invalid bool (--get)' ' |
cab333cb | 498 | |
5be60078 JH |
499 | git config bool.nobool foobar && |
500 | git config --bool --get bool.nobool' | |
cab333cb | 501 | |
db1696b8 FL |
502 | test_expect_failure 'invalid bool (set)' ' |
503 | ||
5be60078 | 504 | git config --bool bool.nobool foobar' |
db1696b8 FL |
505 | |
506 | rm .git/config | |
507 | ||
508 | cat > expect <<\EOF | |
509 | [bool] | |
510 | true1 = true | |
511 | true2 = true | |
512 | true3 = true | |
513 | true4 = true | |
514 | false1 = false | |
515 | false2 = false | |
516 | false3 = false | |
517 | false4 = false | |
518 | EOF | |
519 | ||
520 | test_expect_success 'set --bool' ' | |
521 | ||
5be60078 JH |
522 | git config --bool bool.true1 01 && |
523 | git config --bool bool.true2 -1 && | |
524 | git config --bool bool.true3 YeS && | |
525 | git config --bool bool.true4 true && | |
526 | git config --bool bool.false1 000 && | |
527 | git config --bool bool.false2 "" && | |
528 | git config --bool bool.false3 nO && | |
529 | git config --bool bool.false4 FALSE && | |
db1696b8 FL |
530 | cmp expect .git/config' |
531 | ||
532 | rm .git/config | |
533 | ||
534 | cat > expect <<\EOF | |
535 | [int] | |
536 | val1 = 1 | |
537 | val2 = -1 | |
538 | val3 = 5242880 | |
539 | EOF | |
540 | ||
541 | test_expect_success 'set --int' ' | |
542 | ||
5be60078 JH |
543 | git config --int int.val1 01 && |
544 | git config --int int.val2 -1 && | |
545 | git config --int int.val3 5m && | |
db1696b8 FL |
546 | cmp expect .git/config' |
547 | ||
cdd4fb15 BG |
548 | rm .git/config |
549 | ||
5be60078 JH |
550 | git config quote.leading " test" |
551 | git config quote.ending "test " | |
552 | git config quote.semicolon "test;test" | |
553 | git config quote.hash "test#test" | |
cdd4fb15 BG |
554 | |
555 | cat > expect << EOF | |
556 | [quote] | |
557 | leading = " test" | |
558 | ending = "test " | |
559 | semicolon = "test;test" | |
560 | hash = "test#test" | |
561 | EOF | |
562 | ||
563 | test_expect_success 'quoting' 'cmp .git/config expect' | |
564 | ||
e0d10e1c | 565 | test_expect_failure 'key with newline' 'git config key.with\\\ |
6f71686e JS |
566 | newline 123' |
567 | ||
e0d10e1c | 568 | test_expect_success 'value with newline' 'git config key.sub value.with\\\ |
6f71686e JS |
569 | newline' |
570 | ||
83cd10a0 JN |
571 | cat > .git/config <<\EOF |
572 | [section] | |
573 | ; comment \ | |
574 | continued = cont\ | |
575 | inued | |
576 | noncont = not continued ; \ | |
577 | quotecont = "cont;\ | |
578 | inued" | |
579 | EOF | |
580 | ||
581 | cat > expect <<\EOF | |
582 | section.continued=continued | |
583 | section.noncont=not continued | |
584 | section.quotecont=cont;inued | |
585 | EOF | |
586 | ||
e0d10e1c | 587 | git config --list > result |
83cd10a0 JN |
588 | |
589 | test_expect_success 'value continued on next line' 'cmp result expect' | |
590 | ||
2275d502 FL |
591 | cat > .git/config <<\EOF |
592 | [section "sub=section"] | |
593 | val1 = foo=bar | |
594 | val2 = foo\nbar | |
595 | val3 = \n\n | |
596 | val4 = | |
597 | val5 | |
598 | EOF | |
599 | ||
600 | cat > expect <<\EOF | |
2b9a5020 AR |
601 | section.sub=section.val1 |
602 | foo=barQsection.sub=section.val2 | |
603 | foo | |
604 | barQsection.sub=section.val3 | |
2275d502 FL |
605 | |
606 | ||
2b9a5020 AR |
607 | Qsection.sub=section.val4 |
608 | Qsection.sub=section.val5Q | |
2275d502 FL |
609 | EOF |
610 | ||
3175b0cf | 611 | git config --null --list | tr '\000' 'Q' > result |
2b9a5020 | 612 | echo >>result |
2275d502 FL |
613 | |
614 | test_expect_success '--null --list' 'cmp result expect' | |
615 | ||
3175b0cf | 616 | git config --null --get-regexp 'val[0-9]' | tr '\000' 'Q' > result |
2b9a5020 | 617 | echo >>result |
2275d502 FL |
618 | |
619 | test_expect_success '--null --get-regexp' 'cmp result expect' | |
620 | ||
65a5a21d JH |
621 | test_expect_success 'symlinked configuration' ' |
622 | ||
623 | ln -s notyet myconfig && | |
624 | GIT_CONFIG=myconfig git config test.frotz nitfol && | |
625 | test -h myconfig && | |
626 | test -f notyet && | |
627 | test "z$(GIT_CONFIG=notyet git config test.frotz)" = znitfol && | |
628 | GIT_CONFIG=myconfig git config test.xyzzy rezrov && | |
629 | test -h myconfig && | |
630 | test -f notyet && | |
631 | test "z$(GIT_CONFIG=notyet git config test.frotz)" = znitfol && | |
632 | test "z$(GIT_CONFIG=notyet git config test.xyzzy)" = zrezrov | |
633 | ||
634 | ' | |
635 | ||
942c1f53 | 636 | test_done |