testscript/testdata/testscript_update_script_actual_is_file.txt
raw| 1 | unquote scripts/testscript.txt |
| 2 | unquote testscript-new.txt |
| 3 | testscript -update scripts |
| 4 | cmp scripts/testscript.txt testscript-new.txt |
| 5 | |
| 6 | -- scripts/testscript.txt -- |
| 7 | >cmp got want |
| 8 | > |
| 9 | >-- got -- |
| 10 | >right |
| 11 | >-- want -- |
| 12 | >wrong |
| 13 | -- testscript-new.txt -- |
| 14 | >cmp got want |
| 15 | > |
| 16 | >-- got -- |
| 17 | >right |
| 18 | >-- want -- |
| 19 | >right |