gdb.base/ldbl_e308.exp: Do not allow "inf" in value output.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 25 Oct 2012 11:16:18 +0000 (11:16 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 25 Oct 2012 11:16:18 +0000 (11:16 +0000)
That was an attempt at handling the targets where sizeof(long double)
is less than 8, but the way it was implement allows the bug that
this testcase verifies to come back without being noticed.

gdb/testsuite/ChangeLog:

        * gdb.base/ldbl_e308.exp: Remove "inf" from possible expected
        output for "print inp" test.

gdb/testsuite/gdb.base/ldbl_e308.exp

index 89c54b5..ad9c5f4 100644 (file)
@@ -27,5 +27,5 @@ if ![runto_main] {
 gdb_test_no_output "set variable ldbl_308 = 1.6e+308l"
 
 gdb_test "print ldbl_308" \
-         "= (1\..*e\\+308|inf)"
+         "= 1\..*e\\+308"