This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Flipping ifelse.exp test
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb at sourceware dot org
- Date: Tue, 18 Jul 2006 01:02:48 +0200 (CEST)
- Subject: Flipping ifelse.exp test
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