Jonathan Tan <jonathanta...@google.com> 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.