diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2018-08-24 15:20:12 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-27 11:31:18 -0700 |
commit | b2fa7a2372f42af404a942a4691a5341af8868e9 (patch) | |
tree | 5a7320926ea9d35dffce9a37d44ebbe981cfd4c3 /t/t3010-ls-files-killed-modified.sh | |
parent | tests: fix and add lint for non-portable head -c N (diff) | |
download | tgif-b2fa7a2372f42af404a942a4691a5341af8868e9.tar.xz |
tests: fix and add lint for non-portable seq
The seq command is not in POSIX, and doesn't exist on
e.g. OpenBSD. We've had the test_seq wrapper since d17cf5f3a3 ("tests:
Introduce test_seq", 2012-08-04), but use of it keeps coming back,
e.g. in the recently added "fetch negotiator" tests being added here.
So let's also add a check to "make test-lint". The regex is aiming to
capture the likes of $(seq ..) and "seq" as a stand-alone command,
without capturing some existing cases where we e.g. have files called
"seq", as \bseq\b would do.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3010-ls-files-killed-modified.sh')
0 files changed, 0 insertions, 0 deletions