cmd/testscript/testdata/multi.txt
raw| 1 | # Check that all scripts are executed even when one fails. |
| 2 | |
| 3 | ! testscript a.txt b.txt |
| 4 | cmp stdout want-stdout |
| 5 | -- want-stdout -- |
| 6 | > exec false |
| 7 | [exit status 1] |
| 8 | FAIL: a.txt:1: unexpected command failure |
| 9 | > exec false |
| 10 | [exit status 1] |
| 11 | FAIL: b.txt:2: unexpected command failure |
| 12 | -- a.txt -- |
| 13 | exec false |
| 14 | -- b.txt -- |
| 15 | |
| 16 | exec false |