[Ltru] Re: Test suite for language tags?

Stephane Bortzmeyer <bortzmeyer@nic.fr> Wed, 14 March 2007 12:00 UTC

Return-path: <ltru-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HRS9C-0002r5-HJ; Wed, 14 Mar 2007 08:00:02 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HRS9A-0002qN-Uk for ltru@lists.ietf.org; Wed, 14 Mar 2007 08:00:00 -0400
Received: from mx2.nic.fr ([192.134.4.11]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HRS99-0001UL-MA for ltru@lists.ietf.org; Wed, 14 Mar 2007 08:00:00 -0400
Received: from localhost (localhost.localdomain [127.0.0.1]) by mx2.nic.fr (Postfix) with ESMTP id 0270E26C211; Wed, 14 Mar 2007 12:59:40 +0100 (CET)
X-Virus-Scanned: by amavisd-new at mx2.nic.fr
Received: from relay2.nic.fr (relay2.nic.fr [192.134.4.163]) by mx2.nic.fr (Postfix) with ESMTP id 568EA26C18B; Wed, 14 Mar 2007 12:59:39 +0100 (CET)
Received: from bortzmeyer.nic.fr (batilda.nic.fr [192.134.4.69]) by relay2.nic.fr (Postfix) with ESMTP id 32AC258ED28; Wed, 14 Mar 2007 12:59:29 +0100 (CET)
Date: Wed, 14 Mar 2007 12:59:29 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Martin Duerst <duerst@it.aoyama.ac.jp>
Message-ID: <20070314115929.GA17962@nic.fr>
References: <44D4AC42.79E0@xyzzy.claranet.de> <20060830093000.GA31895@nic.fr> <44F6313D.2070000@yahoo-inc.com> <6.0.0.20.2.20060831201004.101ab8d0@localhost> <44F6EF0E.20602@yahoo-inc.com> <6.0.0.20.2.20060901024806.109a6d90@localhost> <30b660a20609161628t22ab3c4flc81ea92f40800a09@mail.gmail.com> <20060917165050.GA29413@sources.org> <30b660a20609171454k3f80374p646d156948c13535@mail.gmail.com> <6.0.0.20.2.20070314183921.09254160@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <6.0.0.20.2.20070314183921.09254160@localhost>
X-Operating-System: Debian GNU/Linux 4.0
X-Kernel: Linux 2.6.18-4-686 i686
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: Mutt/1.5.13 (2006-08-11)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 856eb5f76e7a34990d1d457d8e8e5b7f
Cc: ltru@lists.ietf.org
Subject: [Ltru] Re: Test suite for language tags?
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
Errors-To: ltru-bounces@ietf.org

On Wed, Mar 14, 2007 at 06:44:20PM +0900,
 Martin Duerst <duerst@it.aoyama.ac.jp> wrote 
 a message of 29 lines which said:

> BTW, everybody, many thanks for all these tests.

Using automatically generated tags is useful too:

#!/bin/sh

for i in `seq 1 1000`; do
   echo Test $i...
   tag=`abnfgen -s language-tag tests/langtag.abnf`
   YOUR-PROGRAM $tag > /dev/null
   if [ $? != 0 ]; then
       exit 1
   fi
done

_______________________________________________
Ltru mailing list
Ltru@ietf.org
https://www1.ietf.org/mailman/listinfo/ltru