]> git.ipfire.org Git - thirdparty/git.git/commit - t/t0003-attributes.sh
t0003: move setup for `--all` into new block
authorKarthik Nayak <karthik.188@gmail.com>
Sat, 14 Jan 2023 08:30:37 +0000 (09:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 14 Jan 2023 16:49:55 +0000 (08:49 -0800)
commitc847e8c228a7820f11ce66d82dc68cd2241af031
tree278a5767e58bbf500ea99368b7d712c4c77beb48
parent2b4f5a4e4bb102ac8d967cea653ed753b608193c
t0003: move setup for `--all` into new block

There is some setup code which is used by multiple tests being setup in
`attribute test: --all option`. This means when we run "sh
./t0003-attributes.sh --run=setup,<num>" there is a chance of failing
since we missed this setup block.

So to ensure that setups are independent of test logic, move this to a
new setup block.

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Co-authored-by: toon@iotcl.com
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0003-attributes.sh