From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5888 invoked by alias); 17 Jul 2006 23:02:54 -0000 Received: (qmail 5880 invoked by uid 22791); 17 Jul 2006 23:02:54 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Jul 2006 23:02:52 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k6HN2mxx018275 for ; Tue, 18 Jul 2006 01:02:48 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6) with ESMTP id k6HN2m6A024946 for ; Tue, 18 Jul 2006 01:02:48 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6/Submit) id k6HN2mlx002514; Tue, 18 Jul 2006 01:02:48 +0200 (CEST) Date: Mon, 17 Jul 2006 23:32:00 -0000 Message-Id: <200607172302.k6HN2mlx002514@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: gdb@sourceware.org Subject: Flipping ifelse.exp test Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00122.txt.bz2 Hi folks, I sometimes see the following failure: FAIL: gdb.base/ifelse.exp: if 1 with empty body If everything is all right, the output in gdb.log looks like: (gdb) if 1 >end (gdb) echo got here\n got here (gdb) PASS: gdb.base/ifelse.exp: if 1 with empty body but when it fails, it looks like: (gdb) if 1 >end (gdb) FAIL: gdb.base/ifelse.exp: if 1 with empty body echo got here\n got here (gdb) PASS: gdb.base/ifelse.exp: if 0 with empty body I fail to see what's wrong with the test though. The regular expressions seem to be properly anchored. Can anyone spot the problem? Mark