aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2008-02-28 10:32:50 +0000
committerPierre Muller <muller@sourceware.org>2008-02-28 10:32:50 +0000
commite691325a9c31d84e1980c30cedaac4a3b15a7a84 (patch)
treeeea271c83fa4fd940fb46fe7087abb5752b63b06 /gdb
parent911f096e1a0b04d82d059a42e459b15503c285ce (diff)
downloadgdb-e691325a9c31d84e1980c30cedaac4a3b15a7a84.zip
gdb-e691325a9c31d84e1980c30cedaac4a3b15a7a84.tar.gz
gdb-e691325a9c31d84e1980c30cedaac4a3b15a7a84.tar.bz2
2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/assign.exp: avoid same output for different tests.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/assign.exp34
2 files changed, 21 insertions, 17 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b2ff584..b1bc076 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * gdb.base/assign.exp: avoid same output for different tests.
+
2008-02-27 Doug Evans <dje@google.com>
* gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
diff --git a/gdb/testsuite/gdb.base/assign.exp b/gdb/testsuite/gdb.base/assign.exp
index f94506b..a6f8483 100644
--- a/gdb/testsuite/gdb.base/assign.exp
+++ b/gdb/testsuite/gdb.base/assign.exp
@@ -98,7 +98,7 @@ gdb_expect {
timeout { fail "(timeout) v_int+=57" }
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (2)"
send_gdb "print v_int-=57\n"
gdb_expect {
@@ -116,7 +116,7 @@ gdb_expect {
timeout { fail "(timeout) v_int-=57" }
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (3)"
send_gdb "print v_int*=5\n"
gdb_expect {
@@ -134,7 +134,7 @@ gdb_expect {
timeout { fail "(timeout) v_int*=5" }
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (4)"
send_gdb "print v_int/=4\n"
gdb_expect {
@@ -154,7 +154,7 @@ gdb_expect {
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (5)"
send_gdb "print v_int%=4\n"
gdb_expect {
@@ -174,7 +174,7 @@ gdb_expect {
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (6)"
@@ -195,7 +195,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (7)"
@@ -216,7 +216,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (8)"
@@ -237,7 +237,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (9)"
@@ -258,7 +258,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (10)"
@@ -279,7 +279,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (11)"
@@ -300,7 +300,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (12)"
@@ -321,7 +321,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (13)"
@@ -342,7 +342,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (14)"
@@ -363,7 +363,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (15)"
@@ -384,7 +384,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (16)"
send_gdb "print v_int+=v_unsigned_long\n"
@@ -404,7 +404,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (17)"
send_gdb "print v_int+=v_float\n"
@@ -424,7 +424,7 @@ gdb_expect {
}
-gdb_test "set variable v_int = 6" "" "set v_int to 6"
+gdb_test "set variable v_int = 6" "" "set v_int to 6 (18)"
send_gdb "print v_int+=v_double\n"