From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Elizabeth Chastain To: gdb-patches@sources.redhat.com Subject: [RFA] testsuite/gdb.base/exprs.exp: Remove duplicate test Date: Sun, 10 Jun 2001 19:43:00 -0000 Message-id: <200106110248.TAA07706@bosch.cygnus.com> X-SW-Source: 2001-06/msg00204.html This is part of my quest to make all test names unique. This patch removes a duplicate test from gdb.base/exprs.exp. The duplicate test is: print unsigned char == (~0) (print v_unsigned_char == ~0) I also touched the copyright date. These are the only changes in this patch. I tested this on native Red Hat Linux 7 and native Solaris 2.8. OK to apply? Michael Elizabeth Chastain "love without fear" === 2001-06-10 Michael Chastain * gdb.base/exprs.exp: Remove a duplicate test. === Index: gdb/testsuite/gdb.base/exprs.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/exprs.exp,v retrieving revision 1.5 diff -c -3 -p -r1.5 exprs.exp *** gdb/testsuite/gdb.base/exprs.exp 2001/06/06 18:25:46 1.5 --- gdb/testsuite/gdb.base/exprs.exp 2001/06/11 00:24:07 *************** *** 1,4 **** ! # Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 2000 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify --- 1,4 ---- ! # Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 2000, 2001 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify *************** test_expr "set variable v_unsigned_char= *** 101,107 **** # FIXME: gdb mishandles the cast (unsigned char) on the i960, so I've # set up an expected failure for this case. setup_xfail "i960-*-*" 1821 ! test_expr "set variable v_unsigned_char=~0" "print v_unsigned_char == 0" "\\$\[0-9\]* = $false" "print v_unsigned_char == ~0" "\\$\[0-9\]* = $false" "print v_unsigned_char == (unsigned char)~0" "\\$\[0-9\]* = $true" "print v_unsigned_char == ~0" "\\$\[0-9\]* = $false" "print unsigned char == (~0)" # FIXME: gdb mishandles the cast (unsigned char) on the i960, so I've # set up an expected failure for this case. setup_xfail "i960-*-*" 1821 --- 101,107 ---- # FIXME: gdb mishandles the cast (unsigned char) on the i960, so I've # set up an expected failure for this case. setup_xfail "i960-*-*" 1821 ! test_expr "set variable v_unsigned_char=~0" "print v_unsigned_char == 0" "\\$\[0-9\]* = $false" "print v_unsigned_char == ~0" "\\$\[0-9\]* = $false" "print v_unsigned_char == (unsigned char)~0" "\\$\[0-9\]* = $true" "print unsigned char == (~0)" # FIXME: gdb mishandles the cast (unsigned char) on the i960, so I've # set up an expected failure for this case. setup_xfail "i960-*-*" 1821