From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25856 invoked by alias); 10 Nov 2011 17:16:38 -0000 Received: (qmail 25848 invoked by uid 22791); 10 Nov 2011 17:16:37 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 Nov 2011 17:16:24 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1ROYEh-0006G5-MD from pedro_alves@mentor.com for gdb-patches@sourceware.org; Thu, 10 Nov 2011 09:16:23 -0800 Received: from scottsdale.localnet ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 10 Nov 2011 17:16:21 +0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [patch 8/8] Test cases Date: Thu, 10 Nov 2011 17:16:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-12-generic; KDE/4.7.2; x86_64; ; ) Cc: Yao Qi References: <4EB8C551.9090609@codesourcery.com> <4EB8D25E.2080705@codesourcery.com> In-Reply-To: <4EB8D25E.2080705@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201111101716.19680.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00283.txt.bz2 On Tuesday 08 November 2011 06:55:26, Yao Qi wrote: > + > +# > +# test running programs > +# > + This is IMO one of the funniest example of copy&paste-programing we have on the testsuite. :-) $ grep -rn "test running programs" * | wc -l 77 I'd guess that string appeared on one of the first tests ever written for GDB (that actually tested basic functionality as running programs), and then spread around as people copied tests as a starting base rather than start from scratch. I do that to! Proper review coming... -- Pedro Alves