Commit | Line | Data |
---|---|---|
18bc7616 JK |
1 | #!/bin/sh |
2 | ||
3 | test_description='add -i basic tests' | |
4 | . ./test-lib.sh | |
8552972b | 5 | . "$TEST_DIRECTORY"/lib-terminal.sh |
18bc7616 | 6 | |
a070221e JN |
7 | if ! test_have_prereq PERL |
8 | then | |
9 | skip_all='skipping add -i tests, perl not available' | |
10 | test_done | |
11 | fi | |
12 | ||
902f414a PW |
13 | diff_cmp () { |
14 | for x | |
15 | do | |
16 | sed -e '/^index/s/[0-9a-f]*[1-9a-f][0-9a-f]*\.\./1234567../' \ | |
17 | -e '/^index/s/\.\.[0-9a-f]*[1-9a-f][0-9a-f]*/..9abcdef/' \ | |
18 | -e '/^index/s/ 00*\.\./ 0000000../' \ | |
19 | -e '/^index/s/\.\.00*$/..0000000/' \ | |
20 | -e '/^index/s/\.\.00* /..0000000 /' \ | |
21 | "$x" >"$x.filtered" | |
22 | done | |
23 | test_cmp "$1.filtered" "$2.filtered" | |
24 | } | |
25 | ||
a070221e | 26 | test_expect_success 'setup (initial)' ' |
18bc7616 JK |
27 | echo content >file && |
28 | git add file && | |
29 | echo more >>file && | |
30 | echo lines >>file | |
31 | ' | |
a070221e | 32 | test_expect_success 'status works (initial)' ' |
18bc7616 JK |
33 | git add -i </dev/null >output && |
34 | grep "+1/-0 *+2/-0 file" output | |
35 | ' | |
f0459319 | 36 | |
a070221e | 37 | test_expect_success 'setup expected' ' |
e4d671c6 PW |
38 | cat >expected <<-\EOF |
39 | new file mode 100644 | |
40 | index 0000000..d95f3ad | |
41 | --- /dev/null | |
42 | +++ b/file | |
43 | @@ -0,0 +1 @@ | |
44 | +content | |
45 | EOF | |
f0459319 ÆAB |
46 | ' |
47 | ||
a070221e | 48 | test_expect_success 'diff works (initial)' ' |
18bc7616 JK |
49 | (echo d; echo 1) | git add -i >output && |
50 | sed -ne "/new file/,/content/p" <output >diff && | |
902f414a | 51 | diff_cmp expected diff |
18bc7616 | 52 | ' |
a070221e | 53 | test_expect_success 'revert works (initial)' ' |
18bc7616 JK |
54 | git add file && |
55 | (echo r; echo 1) | git add -i && | |
56 | git ls-files >output && | |
57 | ! grep . output | |
58 | ' | |
59 | ||
a070221e | 60 | test_expect_success 'setup (commit)' ' |
18bc7616 JK |
61 | echo baseline >file && |
62 | git add file && | |
63 | git commit -m commit && | |
64 | echo content >>file && | |
65 | git add file && | |
66 | echo more >>file && | |
67 | echo lines >>file | |
68 | ' | |
a070221e | 69 | test_expect_success 'status works (commit)' ' |
18bc7616 JK |
70 | git add -i </dev/null >output && |
71 | grep "+1/-0 *+2/-0 file" output | |
72 | ' | |
f0459319 | 73 | |
a070221e | 74 | test_expect_success 'setup expected' ' |
e4d671c6 PW |
75 | cat >expected <<-\EOF |
76 | index 180b47c..b6f2c08 100644 | |
77 | --- a/file | |
78 | +++ b/file | |
79 | @@ -1 +1,2 @@ | |
80 | baseline | |
81 | +content | |
82 | EOF | |
f0459319 ÆAB |
83 | ' |
84 | ||
a070221e | 85 | test_expect_success 'diff works (commit)' ' |
18bc7616 JK |
86 | (echo d; echo 1) | git add -i >output && |
87 | sed -ne "/^index/,/content/p" <output >diff && | |
902f414a | 88 | diff_cmp expected diff |
18bc7616 | 89 | ' |
a070221e | 90 | test_expect_success 'revert works (commit)' ' |
18bc7616 JK |
91 | git add file && |
92 | (echo r; echo 1) | git add -i && | |
93 | git add -i </dev/null >output && | |
94 | grep "unchanged *+3/-0 file" output | |
95 | ' | |
96 | ||
f0459319 | 97 | |
a070221e | 98 | test_expect_success 'setup expected' ' |
e4d671c6 PW |
99 | cat >expected <<-\EOF |
100 | EOF | |
f0459319 ÆAB |
101 | ' |
102 | ||
a070221e | 103 | test_expect_success 'dummy edit works' ' |
11489a65 | 104 | test_set_editor : && |
ac083c47 TR |
105 | (echo e; echo a) | git add -p && |
106 | git diff > diff && | |
902f414a | 107 | diff_cmp expected diff |
ac083c47 TR |
108 | ' |
109 | ||
a070221e | 110 | test_expect_success 'setup patch' ' |
e4d671c6 PW |
111 | cat >patch <<-\EOF |
112 | @@ -1,1 +1,4 @@ | |
113 | this | |
114 | +patch | |
115 | -does not | |
116 | apply | |
117 | EOF | |
f0459319 ÆAB |
118 | ' |
119 | ||
a070221e | 120 | test_expect_success 'setup fake editor' ' |
11489a65 | 121 | write_script "fake_editor.sh" <<-\EOF && |
e4d671c6 PW |
122 | mv -f "$1" oldpatch && |
123 | mv -f patch "$1" | |
124 | EOF | |
f0459319 ÆAB |
125 | test_set_editor "$(pwd)/fake_editor.sh" |
126 | ' | |
127 | ||
a070221e | 128 | test_expect_success 'bad edit rejected' ' |
ac083c47 TR |
129 | git reset && |
130 | (echo e; echo n; echo d) | git add -p >output && | |
131 | grep "hunk does not apply" output | |
132 | ' | |
133 | ||
a070221e | 134 | test_expect_success 'setup patch' ' |
e4d671c6 PW |
135 | cat >patch <<-\EOF |
136 | this patch | |
137 | is garbage | |
138 | EOF | |
f0459319 ÆAB |
139 | ' |
140 | ||
a070221e | 141 | test_expect_success 'garbage edit rejected' ' |
ac083c47 TR |
142 | git reset && |
143 | (echo e; echo n; echo d) | git add -p >output && | |
144 | grep "hunk does not apply" output | |
145 | ' | |
146 | ||
a070221e | 147 | test_expect_success 'setup patch' ' |
e4d671c6 PW |
148 | cat >patch <<-\EOF |
149 | @@ -1,0 +1,0 @@ | |
150 | baseline | |
151 | +content | |
152 | +newcontent | |
153 | +lines | |
154 | EOF | |
f0459319 ÆAB |
155 | ' |
156 | ||
a070221e | 157 | test_expect_success 'setup expected' ' |
e4d671c6 PW |
158 | cat >expected <<-\EOF |
159 | diff --git a/file b/file | |
160 | index b5dd6c9..f910ae9 100644 | |
161 | --- a/file | |
162 | +++ b/file | |
163 | @@ -1,4 +1,4 @@ | |
164 | baseline | |
165 | content | |
166 | -newcontent | |
167 | +more | |
168 | lines | |
169 | EOF | |
f0459319 ÆAB |
170 | ' |
171 | ||
a070221e | 172 | test_expect_success 'real edit works' ' |
ac083c47 TR |
173 | (echo e; echo n; echo d) | git add -p && |
174 | git diff >output && | |
902f414a | 175 | diff_cmp expected output |
ac083c47 TR |
176 | ' |
177 | ||
a070221e | 178 | test_expect_success 'skip files similarly as commit -a' ' |
b145b211 PV |
179 | git reset && |
180 | echo file >.gitignore && | |
181 | echo changed >file && | |
182 | echo y | git add -p file && | |
183 | git diff >output && | |
184 | git reset && | |
185 | git commit -am commit && | |
186 | git diff >expected && | |
902f414a | 187 | diff_cmp expected output && |
b145b211 PV |
188 | git reset --hard HEAD^ |
189 | ' | |
190 | rm -f .gitignore | |
191 | ||
a070221e | 192 | test_expect_success FILEMODE 'patch does not affect mode' ' |
b717a627 JK |
193 | git reset --hard && |
194 | echo content >>file && | |
195 | chmod +x file && | |
ca724686 | 196 | printf "n\\ny\\n" | git add -p && |
b717a627 JK |
197 | git show :file | grep content && |
198 | git diff file | grep "new mode" | |
199 | ' | |
200 | ||
a070221e | 201 | test_expect_success FILEMODE 'stage mode but not hunk' ' |
ca724686 JK |
202 | git reset --hard && |
203 | echo content >>file && | |
204 | chmod +x file && | |
205 | printf "y\\nn\\n" | git add -p && | |
206 | git diff --cached file | grep "new mode" && | |
207 | git diff file | grep "+content" | |
208 | ' | |
209 | ||
87ca2eaa | 210 | |
a070221e | 211 | test_expect_success FILEMODE 'stage mode and hunk' ' |
87ca2eaa KS |
212 | git reset --hard && |
213 | echo content >>file && | |
214 | chmod +x file && | |
215 | printf "y\\ny\\n" | git add -p && | |
216 | git diff --cached file | grep "new mode" && | |
217 | git diff --cached file | grep "+content" && | |
218 | test -z "$(git diff file)" | |
219 | ' | |
220 | ||
26ec126a | 221 | # end of tests disabled when filemode is not usable |
ca724686 | 222 | |
a070221e | 223 | test_expect_success 'setup again' ' |
32a90233 JS |
224 | git reset --hard && |
225 | test_chmod +x file && | |
226 | echo content >>file | |
227 | ' | |
228 | ||
f67182bf | 229 | # Write the patch file with a new line at the top and bottom |
a070221e | 230 | test_expect_success 'setup patch' ' |
e4d671c6 PW |
231 | cat >patch <<-\EOF |
232 | index 180b47c..b6f2c08 100644 | |
233 | --- a/file | |
234 | +++ b/file | |
235 | @@ -1,2 +1,4 @@ | |
236 | +firstline | |
237 | baseline | |
238 | content | |
239 | +lastline | |
b3e0fcfe | 240 | \ No newline at end of file |
e4d671c6 | 241 | EOF |
f0459319 ÆAB |
242 | ' |
243 | ||
b3e0fcfe | 244 | # Expected output, diff is similar to the patch but w/ diff at the top |
a070221e | 245 | test_expect_success 'setup expected' ' |
b3e0fcfe PW |
246 | echo diff --git a/file b/file >expected && |
247 | cat patch |sed "/^index/s/ 100644/ 100755/" >>expected && | |
248 | cat >expected-output <<-\EOF | |
e4d671c6 PW |
249 | --- a/file |
250 | +++ b/file | |
251 | @@ -1,2 +1,4 @@ | |
252 | +firstline | |
253 | baseline | |
254 | content | |
255 | +lastline | |
b3e0fcfe PW |
256 | \ No newline at end of file |
257 | @@ -1,2 +1,3 @@ | |
258 | +firstline | |
259 | baseline | |
260 | content | |
261 | @@ -1,2 +2,3 @@ | |
262 | baseline | |
263 | content | |
264 | +lastline | |
265 | \ No newline at end of file | |
e4d671c6 | 266 | EOF |
f0459319 ÆAB |
267 | ' |
268 | ||
f67182bf | 269 | # Test splitting the first patch, then adding both |
b3e0fcfe | 270 | test_expect_success C_LOCALE_OUTPUT 'add first line works' ' |
f67182bf MG |
271 | git commit -am "clear local changes" && |
272 | git apply patch && | |
b3e0fcfe PW |
273 | printf "%s\n" s y y | git add -p file 2>error | |
274 | sed -n -e "s/^Stage this hunk[^@]*\(@@ .*\)/\1/" \ | |
275 | -e "/^[-+@ \\\\]"/p >output && | |
276 | test_must_be_empty error && | |
277 | git diff --cached >diff && | |
278 | diff_cmp expected diff && | |
279 | test_cmp expected-output output | |
f67182bf MG |
280 | ' |
281 | ||
a070221e | 282 | test_expect_success 'setup expected' ' |
e4d671c6 PW |
283 | cat >expected <<-\EOF |
284 | diff --git a/non-empty b/non-empty | |
285 | deleted file mode 100644 | |
286 | index d95f3ad..0000000 | |
287 | --- a/non-empty | |
288 | +++ /dev/null | |
289 | @@ -1 +0,0 @@ | |
290 | -content | |
291 | EOF | |
f0459319 ÆAB |
292 | ' |
293 | ||
a070221e | 294 | test_expect_success 'deleting a non-empty file' ' |
8947fdd5 JK |
295 | git reset --hard && |
296 | echo content >non-empty && | |
297 | git add non-empty && | |
298 | git commit -m non-empty && | |
299 | rm non-empty && | |
300 | echo y | git add -p non-empty && | |
301 | git diff --cached >diff && | |
902f414a | 302 | diff_cmp expected diff |
8947fdd5 JK |
303 | ' |
304 | ||
a070221e | 305 | test_expect_success 'setup expected' ' |
e4d671c6 PW |
306 | cat >expected <<-\EOF |
307 | diff --git a/empty b/empty | |
308 | deleted file mode 100644 | |
309 | index e69de29..0000000 | |
310 | EOF | |
f0459319 | 311 | ' |
24ab81ae | 312 | |
a070221e | 313 | test_expect_success 'deleting an empty file' ' |
24ab81ae JK |
314 | git reset --hard && |
315 | > empty && | |
316 | git add empty && | |
317 | git commit -m empty && | |
318 | rm empty && | |
319 | echo y | git add -p empty && | |
320 | git diff --cached >diff && | |
902f414a | 321 | diff_cmp expected diff |
24ab81ae JK |
322 | ' |
323 | ||
a070221e | 324 | test_expect_success 'split hunk setup' ' |
f3217e2b | 325 | git reset --hard && |
11489a65 | 326 | test_write_lines 10 20 30 40 50 60 >test && |
f3217e2b JH |
327 | git add test && |
328 | test_tick && | |
329 | git commit -m test && | |
330 | ||
11489a65 | 331 | test_write_lines 10 15 20 21 22 23 24 30 40 50 60 >test |
f3217e2b JH |
332 | ' |
333 | ||
a070221e | 334 | test_expect_success 'split hunk "add -p (edit)"' ' |
f3217e2b JH |
335 | # Split, say Edit and do nothing. Then: |
336 | # | |
337 | # 1. Broken version results in a patch that does not apply and | |
338 | # only takes [y/n] (edit again) so the first q is discarded | |
339 | # and then n attempts to discard the edit. Repeat q enough | |
340 | # times to get out. | |
341 | # | |
342 | # 2. Correct version applies the (not)edited version, and asks | |
41ccfdd9 | 343 | # about the next hunk, against which we say q and program |
f3217e2b | 344 | # exits. |
416145f0 | 345 | printf "%s\n" s e q n q q | |
f3217e2b JH |
346 | EDITOR=: git add -p && |
347 | git diff >actual && | |
348 | ! grep "^+15" actual | |
349 | ' | |
350 | ||
1bf01040 | 351 | test_expect_failure 'split hunk "add -p (no, yes, edit)"' ' |
11489a65 | 352 | test_write_lines 5 10 20 21 30 31 40 50 60 >test && |
1bf01040 MM |
353 | git reset && |
354 | # test sequence is s(plit), n(o), y(es), e(dit) | |
355 | # q n q q is there to make sure we exit at the end. | |
356 | printf "%s\n" s n y e q n q q | | |
357 | EDITOR=: git add -p 2>error && | |
358 | test_must_be_empty error && | |
359 | git diff >actual && | |
360 | ! grep "^+31" actual | |
361 | ' | |
362 | ||
4066bd67 JK |
363 | test_expect_success 'patch mode ignores unmerged entries' ' |
364 | git reset --hard && | |
365 | test_commit conflict && | |
366 | test_commit non-conflict && | |
367 | git checkout -b side && | |
368 | test_commit side conflict.t && | |
369 | git checkout master && | |
370 | test_commit master conflict.t && | |
371 | test_must_fail git merge side && | |
372 | echo changed >non-conflict.t && | |
373 | echo y | git add -p >output && | |
374 | ! grep a/conflict.t output && | |
375 | cat >expected <<-\EOF && | |
376 | * Unmerged path conflict.t | |
377 | diff --git a/non-conflict.t b/non-conflict.t | |
378 | index f766221..5ea2ed4 100644 | |
379 | --- a/non-conflict.t | |
380 | +++ b/non-conflict.t | |
381 | @@ -1 +1 @@ | |
382 | -non-conflict | |
383 | +changed | |
384 | EOF | |
385 | git diff --cached >diff && | |
902f414a | 386 | diff_cmp expected diff |
4066bd67 JK |
387 | ' |
388 | ||
8552972b | 389 | test_expect_success TTY 'diffs can be colorized' ' |
55cccf4b JK |
390 | git reset --hard && |
391 | ||
55cccf4b | 392 | echo content >test && |
8552972b | 393 | printf y | test_terminal git add -p >output 2>&1 && |
55cccf4b JK |
394 | |
395 | # We do not want to depend on the exact coloring scheme | |
396 | # git uses for diffs, so just check that we saw some kind of color. | |
397 | grep "$(printf "\\033")" output | |
398 | ' | |
399 | ||
af3570ed JK |
400 | test_expect_success TTY 'diffFilter filters diff' ' |
401 | git reset --hard && | |
402 | ||
403 | echo content >test && | |
404 | test_config interactive.diffFilter "sed s/^/foo:/" && | |
405 | printf y | test_terminal git add -p >output 2>&1 && | |
406 | ||
407 | # avoid depending on the exact coloring or content of the prompts, | |
408 | # and just make sure we saw our diff prefixed | |
409 | grep foo:.*content output | |
410 | ' | |
411 | ||
42f7d454 JK |
412 | test_expect_success TTY 'detect bogus diffFilter output' ' |
413 | git reset --hard && | |
414 | ||
415 | echo content >test && | |
416 | test_config interactive.diffFilter "echo too-short" && | |
417 | printf y | test_must_fail test_terminal git add -p | |
418 | ' | |
419 | ||
c852bd54 JK |
420 | test_expect_success 'patch-mode via -i prompts for files' ' |
421 | git reset --hard && | |
422 | ||
423 | echo one >file && | |
424 | echo two >test && | |
425 | git add -i <<-\EOF && | |
426 | patch | |
427 | test | |
428 | ||
429 | y | |
430 | quit | |
431 | EOF | |
432 | ||
433 | echo test >expect && | |
434 | git diff --cached --name-only >actual && | |
902f414a | 435 | diff_cmp expect actual |
c852bd54 JK |
436 | ' |
437 | ||
7288e12c JK |
438 | test_expect_success 'add -p handles globs' ' |
439 | git reset --hard && | |
440 | ||
441 | mkdir -p subdir && | |
442 | echo base >one.c && | |
443 | echo base >subdir/two.c && | |
444 | git add "*.c" && | |
445 | git commit -m base && | |
446 | ||
447 | echo change >one.c && | |
448 | echo change >subdir/two.c && | |
449 | git add -p "*.c" <<-\EOF && | |
450 | y | |
451 | y | |
452 | EOF | |
453 | ||
454 | cat >expect <<-\EOF && | |
455 | one.c | |
456 | subdir/two.c | |
457 | EOF | |
458 | git diff --cached --name-only >actual && | |
459 | test_cmp expect actual | |
460 | ' | |
461 | ||
be4dbbbe PS |
462 | test_expect_success 'add -p handles relative paths' ' |
463 | git reset --hard && | |
464 | ||
465 | echo base >relpath.c && | |
466 | git add "*.c" && | |
467 | git commit -m relpath && | |
468 | ||
469 | echo change >relpath.c && | |
470 | mkdir -p subdir && | |
471 | git -C subdir add -p .. 2>error <<-\EOF && | |
472 | y | |
473 | EOF | |
474 | ||
475 | test_must_be_empty error && | |
476 | ||
477 | cat >expect <<-\EOF && | |
478 | relpath.c | |
479 | EOF | |
480 | git diff --cached --name-only >actual && | |
481 | test_cmp expect actual | |
482 | ' | |
483 | ||
7288e12c JK |
484 | test_expect_success 'add -p does not expand argument lists' ' |
485 | git reset --hard && | |
486 | ||
487 | echo content >not-changed && | |
488 | git add not-changed && | |
489 | git commit -m "add not-changed file" && | |
490 | ||
491 | echo change >file && | |
492 | GIT_TRACE=$(pwd)/trace.out git add -p . <<-\EOF && | |
493 | y | |
494 | EOF | |
495 | ||
496 | # we know that "file" must be mentioned since we actually | |
497 | # update it, but we want to be sure that our "." pathspec | |
498 | # was not expanded into the argument list of any command. | |
499 | # So look only for "not-changed". | |
500 | ! grep not-changed trace.out | |
501 | ' | |
502 | ||
d85d7ecb JK |
503 | test_expect_success 'hunk-editing handles custom comment char' ' |
504 | git reset --hard && | |
505 | echo change >>file && | |
506 | test_config core.commentChar "\$" && | |
507 | echo e | GIT_EDITOR=true git add -p && | |
508 | git diff --exit-code | |
509 | ' | |
510 | ||
6be4595e JK |
511 | test_expect_success 'add -p works even with color.ui=always' ' |
512 | git reset --hard && | |
513 | echo change >>file && | |
514 | test_config color.ui always && | |
515 | echo y | git add -p && | |
516 | echo file >expect && | |
517 | git diff --cached --name-only >actual && | |
518 | test_cmp expect actual | |
519 | ' | |
520 | ||
12434efc NTND |
521 | test_expect_success 'setup different kinds of dirty submodules' ' |
522 | test_create_repo for-submodules && | |
523 | ( | |
524 | cd for-submodules && | |
525 | test_commit initial && | |
526 | test_create_repo dirty-head && | |
527 | ( | |
528 | cd dirty-head && | |
529 | test_commit initial | |
530 | ) && | |
531 | cp -R dirty-head dirty-otherwise && | |
532 | cp -R dirty-head dirty-both-ways && | |
533 | git add dirty-head && | |
534 | git add dirty-otherwise dirty-both-ways && | |
535 | git commit -m initial && | |
536 | ||
537 | cd dirty-head && | |
538 | test_commit updated && | |
539 | cd ../dirty-both-ways && | |
540 | test_commit updated && | |
541 | echo dirty >>initial && | |
542 | : >untracked && | |
543 | cd ../dirty-otherwise && | |
544 | echo dirty >>initial && | |
545 | : >untracked | |
546 | ) && | |
547 | git -C for-submodules diff-files --name-only >actual && | |
548 | cat >expected <<-\EOF && | |
549 | dirty-both-ways | |
550 | dirty-head | |
551 | dirty-otherwise | |
552 | EOF | |
553 | test_cmp expected actual && | |
554 | git -C for-submodules diff-files --name-only --ignore-submodules=dirty >actual && | |
555 | cat >expected <<-\EOF && | |
556 | dirty-both-ways | |
557 | dirty-head | |
558 | EOF | |
559 | test_cmp expected actual | |
560 | ' | |
561 | ||
562 | test_expect_success 'status ignores dirty submodules (except HEAD)' ' | |
563 | git -C for-submodules add -i </dev/null >output && | |
564 | grep dirty-head output && | |
565 | grep dirty-both-ways output && | |
566 | ! grep dirty-otherwise output | |
567 | ' | |
568 | ||
23fea4c2 PW |
569 | test_expect_success 'set up pathological context' ' |
570 | git reset --hard && | |
571 | test_write_lines a a a a a a a a a a a >a && | |
572 | git add a && | |
573 | git commit -m a && | |
574 | test_write_lines c b a a a a a a a b a a a a >a && | |
575 | test_write_lines a a a a a a a b a a a a >expected-1 && | |
576 | test_write_lines b a a a a a a a b a a a a >expected-2 && | |
577 | # check editing can cope with missing header and deleted context lines | |
578 | # as well as changes to other lines | |
579 | test_write_lines +b " a" >patch | |
580 | ' | |
581 | ||
fecc6f3a | 582 | test_expect_success 'add -p works with pathological context lines' ' |
23fea4c2 PW |
583 | git reset && |
584 | printf "%s\n" n y | | |
585 | git add -p && | |
586 | git cat-file blob :a >actual && | |
587 | test_cmp expected-1 actual | |
588 | ' | |
589 | ||
2b8ea7f3 | 590 | test_expect_success 'add -p patch editing works with pathological context lines' ' |
23fea4c2 PW |
591 | git reset && |
592 | # n q q below is in case edit fails | |
593 | printf "%s\n" e y n q q | | |
594 | git add -p && | |
595 | git cat-file blob :a >actual && | |
596 | test_cmp expected-2 actual | |
597 | ' | |
598 | ||
18bc7616 | 599 | test_done |