From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ramsay Jones Subject: Re: t6044 broken on pu Date: Sat, 7 May 2016 14:43:51 +0100 Message-ID: <572DF117.8060400@ramsayjones.plus.com> References: <7d747193-7ba1-e274-86dc-427ed0f124c9@web.de> <878tzmrrfg.fsf@linux-m68k.org> <572DEA81.4050605@ramsayjones.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: newren@gmail.com, Git Mailing List To: Andreas Schwab , =?UTF-8?Q?Torsten_B=c3=b6gershausen?= X-From: git-owner@vger.kernel.org Sat May 07 15:44:04 2016 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1az2WU-0007z7-IT for gcvg-git-2@plane.gmane.org; Sat, 07 May 2016 15:43:58 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752303AbcEGNnz convert rfc822-to-quoted-printable (ORCPT ); Sat, 7 May 2016 09:43:55 -0400 Received: from avasout07.plus.net ([84.93.230.235]:38043 "EHLO avasout07.plus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752179AbcEGNny (ORCPT ); Sat, 7 May 2016 09:43:54 -0400 Received: from [10.0.2.15] ([91.125.197.102]) by avasout07 with smtp id rRjr1s0062D2Veb01Rjs7z; Sat, 07 May 2016 14:43:52 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=QqujpgGd c=1 sm=1 tr=0 a=mTUfFwB0nGOO66Ym8a+i3w==:117 a=mTUfFwB0nGOO66Ym8a+i3w==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=IntiML_lJAOC2K9BUoEA:9 a=QEXdDO2ut3YA:10 X-AUTH: ramsayjones@:2500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 In-Reply-To: <572DEA81.4050605@ramsayjones.plus.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On 07/05/16 14:15, Ramsay Jones wrote: >=20 >=20 > On 07/05/16 13:19, Andreas Schwab wrote: >> Torsten B=C3=B6gershausen writes: >> >>> The "seq" is not understood by all shells, >>> using printf fixes this, >>> >>> index 20a3ffe..48d964e 100755 >>> --- a/t/t6044-merge-unrelated-index-changes.sh >>> +++ b/t/t6044-merge-unrelated-index-changes.sh >>> @@ -20,7 +20,7 @@ test_description=3D"merges with unrelated index c= hanges" >>> # Commit E: renames a->subdir/a, adds subdir/e >>> >>> test_expect_success 'setup trivial merges' ' >>> - seq 1 10 >a && >>> + printf 1 2 3 4 5 7 8 9 10 >a && >> >> $ printf 1 2 3 4 5 7 8 9 10 >> 1 >=20 > yep, I think: >=20 > printf "%d\n" 1 2 3 4 5 6 7 8 9 10 >a && >=20 > would be equivalent. >=20 Having said that, there is also 'test_seq' which you can use to avoid portability problems (although it uses perl, so could be viewed as a bit heavyweight): test_seq 1 10 >a && ATB, Ramsay Jones