completion tests: check __gitdir()'s output in the error cases
authorSZEDER Gábor <redacted>
Fri, 3 Feb 2017 02:48:13 +0000 (03:48 +0100)
committerJunio C Hamano <redacted>
Sat, 4 Feb 2017 06:18:40 +0000 (22:18 -0800)
commit8f0fa85d4d21b67f80d408dd75b35623d829511e
tree2a33105345ccf97332961fc2f85421b4ec442fcb
parentf6114408113af39a18b21693c3a83600e06e5475
completion tests: check __gitdir()'s output in the error cases

The __gitdir() helper function shouldn't output anything if not in a
git repository.  The relevant tests only checked its error code, so
extend them to ensure that there's no output.

Signed-off-by: SZEDER Gábor <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t9902-completion.sh
git clone https://git.99rst.org/PROJECT