diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-02-03 22:40:13 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-03 15:39:55 -0800 |
commit | 791afae2924d032186bfad557c462c92025ac901 (patch) | |
tree | 7afd4cea626cd18db6d24c38ce7ec3df7d9033d7 /t/t7610-mergetool.sh | |
parent | progress.c test helper: add missing braces (diff) | |
download | tgif-791afae2924d032186bfad557c462c92025ac901.tar.xz |
progress.c tests: make start/stop commands on stdin
Change the usage of the "test-tool progress" introduced in
2bb74b53a49 (Test the progress display, 2019-09-16) to take command
like "start" and "stop" on stdin, instead of running them implicitly.
This makes for tests that are easier to read, since the recipe will
mirror the API usage, and allows for easily testing invalid usage that
would yield (or should yield) a BUG(), e.g. providing two "start"
calls in a row. A subsequent commit will add such tests.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7610-mergetool.sh')
0 files changed, 0 insertions, 0 deletions