]> git.ipfire.org Git - thirdparty/git.git/commit
t/perf/fsmonitor: improve error message if typoing hook name
authorNipunn Koorapati <nipunn@dropbox.com>
Mon, 26 Oct 2020 19:32:46 +0000 (19:32 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Oct 2020 23:39:33 +0000 (16:39 -0700)
commit33226af42b8fbdc7551a56753123385a5ee079fa
treee26afad1e8f231e3b5110aa52499afcca27e7fbb
parent0288b9322d37b2b1644fd11afb9929ce75f32af5
t/perf/fsmonitor: improve error message if typoing hook name

Previously - it would silently run the perf suite w/o using
fsmonitor - fsmonitor errors are not hard failures.
Now it errors loudly.

GIT_PERF_7519_FSMONITOR="$HOME/rs-git-fsmonitorr"
./p7519-fsmonitor.sh -i -v

fatal: cannot run /home/nipunn/rs-git-fsmonitorr:
No such file or directory
not ok 2 - setup for fsmonitor

Signed-off-by: Nipunn Koorapati <nipunn@dropbox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p7519-fsmonitor.sh