Re: [PATCH 1/2] upload-pack: fix error message typo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue,  1 May 2018 15:22:20 -0700
Jonathan Tan <jonathantanmy@xxxxxxxxxx> wrote:

> +test_expect_success 'unexpected lines are not allowed in fetch request' '
> +	git init server &&
> +
> +	# Custom request that tries to filter even though it is not advertised.

Oops...I saw this copy-and-paste error right after I sent the e-mails.
I'll remove this in the next reroll (if there is one).

> +	test-pkt-line pack >in <<-EOF &&
> +	command=fetch
> +	0001
> +	this-is-not-a-command
> +	0000
> +	EOF
> +
> +	test_must_fail git -C server serve --stateless-rpc <in >/dev/null 2>err &&
> +	grep "unexpected line: .this-is-not-a-command." err
> +'



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux