From: Junio C Hamano Date: Fri, 12 Apr 2019 05:35:28 GMT Subject: Re: [PATCH v3 1/2] transport: warn if server options are unsupported Message-ID: In-Reply-To: <63049081c98b8612bd233a6f01104c6196a09946.1555014408.git.jonathantanmy@google.com> Jonathan Tan writes: > +test_expect_success 'warn if using server-option with ls-remote with legacy protocol' ' > + GIT_TEST_PROTOCOL_VERSION=0 test_must_fail git -c protocol.version=0 \ > + ls-remote -o hello -o world "file://$(pwd)/file_parent" master 2>err && test_must_fail is not an executable but is a shell function. Do not expect VAR=VAL in front of it to work as expected. "make test" triggered test-lint that caught this.