Re: [PATCH] test-lint-duplicates: Only check for numbered test cases

2013-04-10 Thread Jeff King
On Wed, Apr 10, 2013 at 04:14:34PM +0200, Torsten Bögershausen wrote: > > test-lint-duplicates: > > - @dups=`echo $(T) | tr ' ' '\n' | sed 's/-.*//' | sort | uniq -d` && \ > > + @dups=`echo $(T) | tr ' ' '\n' | \ > > + sed -e 's,.*/,,' -e 's/\(t[0-9][0-9][0-9][0-9]\)-.*/\1/' | \ > >

Re: [PATCH] test-lint-duplicates: Only check for numbered test cases

2013-04-10 Thread Torsten Bögershausen
On 03.04.13 16:28, Jeff King wrote: > On Wed, Apr 03, 2013 at 07:54:02AM +0200, Torsten Bögershausen wrote: > >> Running make inside contrib/remote-helpers fails in "test-lint-duplicates" >> >> This was because the regexp checking for duplicate numbers strips everything >> after the first "-" in t

Re: [PATCH] test-lint-duplicates: Only check for numbered test cases

2013-04-03 Thread Jeff King
On Wed, Apr 03, 2013 at 07:54:02AM +0200, Torsten Bögershausen wrote: > Running make inside contrib/remote-helpers fails in "test-lint-duplicates" > > This was because the regexp checking for duplicate numbers strips everything > after the first "-" in the filename, including the prefix. > > As

[PATCH] test-lint-duplicates: Only check for numbered test cases

2013-04-02 Thread Torsten Bögershausen
Running make inside contrib/remote-helpers fails in "test-lint-duplicates" This was because the regexp checking for duplicate numbers strips everything after the first "-" in the filename, including the prefix. As a result, 2 pathnames like "/contrib/remote-helpers/test-bzr.sh" and "/cont