git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] t9824: fix wrong reference value
@ 2016-04-29 15:57 Lars Schneider
  2016-04-29 17:34 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Schneider @ 2016-04-29 15:57 UTC (permalink / raw)
  To: git

0492eb4 fixed a broken &&-chain in this test which broke the test as it
checked for a wrong size. The expected size of the file under test is
39 bytes. The test checked that the size is 13 bytes. Fix the reference
value to make the test pass, again.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
---
 t/t9824-git-p4-git-lfs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/t9824-git-p4-git-lfs.sh b/t/t9824-git-p4-git-lfs.sh
index 64f8d18..3fc6790 100755
--- a/t/t9824-git-p4-git-lfs.sh
+++ b/t/t9824-git-p4-git-lfs.sh
@@ -265,7 +265,7 @@ test_expect_success 'Add big files to repo and store files in LFS based on compr
 		# We only import HEAD here ("@all" is missing!)
 		git p4 clone --destination="$git" //depot &&
 
-		test_file_in_lfs file6.bin 13 "content 6 bin 39 bytes XXXXXYYYYYZZZZZ" &&
+		test_file_in_lfs file6.bin 39 "content 6 bin 39 bytes XXXXXYYYYYZZZZZ" &&
 		test_file_count_in_dir ".git/lfs/objects" 1 &&
 
 		cat >expect <<-\EOF &&

--
https://github.com/git/git/pull/235

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] t9824: fix wrong reference value
  2016-04-29 15:57 [PATCH] t9824: fix wrong reference value Lars Schneider
@ 2016-04-29 17:34 ` Junio C Hamano
  2016-04-29 20:29   ` Lars Schneider
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2016-04-29 17:34 UTC (permalink / raw)
  To: Lars Schneider; +Cc: git, SZEDER Gábor

Lars Schneider <larsxschneider@gmail.com> writes:

> 0492eb4 fixed a broken &&-chain in this test which broke the test as it
> checked for a wrong size. The expected size of the file under test is
> 39 bytes. The test checked that the size is 13 bytes. Fix the reference
> value to make the test pass, again.
>
> Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
> ---

That breaking "fix" seems to have been acked by you.

It was sort of clear that SZEDER didn't actually ran the test from
the patch, saying "As far as I can tell after eyeballing the test
script,", but you obviously didn't actually have a chance to test it
until now.

Thanks for fixing it before it hits 'master'; this time I think it
is safe to assume that this was actually tested ;-)


>  t/t9824-git-p4-git-lfs.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/t/t9824-git-p4-git-lfs.sh b/t/t9824-git-p4-git-lfs.sh
> index 64f8d18..3fc6790 100755
> --- a/t/t9824-git-p4-git-lfs.sh
> +++ b/t/t9824-git-p4-git-lfs.sh
> @@ -265,7 +265,7 @@ test_expect_success 'Add big files to repo and store files in LFS based on compr
>  		# We only import HEAD here ("@all" is missing!)
>  		git p4 clone --destination="$git" //depot &&
>  
> -		test_file_in_lfs file6.bin 13 "content 6 bin 39 bytes XXXXXYYYYYZZZZZ" &&
> +		test_file_in_lfs file6.bin 39 "content 6 bin 39 bytes XXXXXYYYYYZZZZZ" &&
>  		test_file_count_in_dir ".git/lfs/objects" 1 &&
>  
>  		cat >expect <<-\EOF &&
>
> --
> https://github.com/git/git/pull/235

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] t9824: fix wrong reference value
  2016-04-29 17:34 ` Junio C Hamano
@ 2016-04-29 20:29   ` Lars Schneider
  2016-04-29 20:40     ` Luke Diamand
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Schneider @ 2016-04-29 20:29 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Git Users, SZEDER Gábor


On 29 Apr 2016, at 19:34, Junio C Hamano <gitster@pobox.com> wrote:

> Lars Schneider <larsxschneider@gmail.com> writes:
> 
>> 0492eb4 fixed a broken &&-chain in this test which broke the test as it
>> checked for a wrong size. The expected size of the file under test is
>> 39 bytes. The test checked that the size is 13 bytes. Fix the reference
>> value to make the test pass, again.
>> 
>> Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
>> ---
> 
> That breaking "fix" seems to have been acked by you.
> 
> It was sort of clear that SZEDER didn't actually ran the test from
> the patch, saying "As far as I can tell after eyeballing the test
> script,", but you obviously didn't actually have a chance to test it
> until now.
> 
> Thanks for fixing it before it hits 'master'; this time I think it
> is safe to assume that this was actually tested ;-)

Yes! Lesson learned! Sorry Szeder!

- Lars


> 
> 
>> t/t9824-git-p4-git-lfs.sh | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/t/t9824-git-p4-git-lfs.sh b/t/t9824-git-p4-git-lfs.sh
>> index 64f8d18..3fc6790 100755
>> --- a/t/t9824-git-p4-git-lfs.sh
>> +++ b/t/t9824-git-p4-git-lfs.sh
>> @@ -265,7 +265,7 @@ test_expect_success 'Add big files to repo and store files in LFS based on compr
>> 		# We only import HEAD here ("@all" is missing!)
>> 		git p4 clone --destination="$git" //depot &&
>> 
>> -		test_file_in_lfs file6.bin 13 "content 6 bin 39 bytes XXXXXYYYYYZZZZZ" &&
>> +		test_file_in_lfs file6.bin 39 "content 6 bin 39 bytes XXXXXYYYYYZZZZZ" &&
>> 		test_file_count_in_dir ".git/lfs/objects" 1 &&
>> 
>> 		cat >expect <<-\EOF &&
>> 
>> --
>> https://github.com/git/git/pull/235

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] t9824: fix wrong reference value
  2016-04-29 20:29   ` Lars Schneider
@ 2016-04-29 20:40     ` Luke Diamand
  0 siblings, 0 replies; 4+ messages in thread
From: Luke Diamand @ 2016-04-29 20:40 UTC (permalink / raw)
  To: Lars Schneider; +Cc: Junio C Hamano, Git Users, SZEDER Gábor

On 29 April 2016 at 21:29, Lars Schneider <larsxschneider@gmail.com> wrote:
>
> On 29 Apr 2016, at 19:34, Junio C Hamano <gitster@pobox.com> wrote:
>
>> Lars Schneider <larsxschneider@gmail.com> writes:
>>
>>> 0492eb4 fixed a broken &&-chain in this test which broke the test as it
>>> checked for a wrong size. The expected size of the file under test is
>>> 39 bytes. The test checked that the size is 13 bytes. Fix the reference
>>> value to make the test pass, again.
>>>
>>> Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
>>> ---
>>
>> That breaking "fix" seems to have been acked by you.
>>
>> It was sort of clear that SZEDER didn't actually ran the test from
>> the patch, saying "As far as I can tell after eyeballing the test
>> script,", but you obviously didn't actually have a chance to test it
>> until now.
>>
>> Thanks for fixing it before it hits 'master'; this time I think it
>> is safe to assume that this was actually tested ;-)
>
> Yes! Lesson learned! Sorry Szeder!

How does the old saying go? If it hasn't been tested, it doesn't work!

Luke

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-29 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29 15:57 [PATCH] t9824: fix wrong reference value Lars Schneider
2016-04-29 17:34 ` Junio C Hamano
2016-04-29 20:29   ` Lars Schneider
2016-04-29 20:40     ` Luke Diamand

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).