]> git.ipfire.org Git - thirdparty/git.git/commit
t1300: add tests for missing keys
authorAndrei Rybak <rybak.a.v@gmail.com>
Sun, 23 Apr 2023 13:46:49 +0000 (15:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2023 22:10:50 +0000 (15:10 -0700)
commit3d77fbb664acab5157617cdb368a0c657bf20919
tree5c3df572239825ccaff04cf2b2b12a35e1bf3fcf
parent93f86046c94545e36aceef9eef084b60d02f4c59
t1300: add tests for missing keys

There are several tests in t1300-config.sh that validate failing
invocations of "git config".  However, there are no tests that check
what happens when "git config" is asked to retrieve a value for a
missing key.

Add tests that check this for various combinations of "<section>.<key>"
and "<section>.<subsection>.<key>".

Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-config.sh