aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/arithmet.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/arithmet.exp')
-rw-r--r--gdb/testsuite/gdb.base/arithmet.exp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/arithmet.exp b/gdb/testsuite/gdb.base/arithmet.exp
index 93a8e32..e0a4636 100644
--- a/gdb/testsuite/gdb.base/arithmet.exp
+++ b/gdb/testsuite/gdb.base/arithmet.exp
@@ -59,10 +59,10 @@ if ![runto_main] then {
# test expressions with "int" types
#
-gdb_test "set variable x=14" ""
-gdb_test "set variable y=2" ""
-gdb_test "set variable z=2" ""
-gdb_test "set variable w=3" ""
+gdb_test_no_output "set variable x=14"
+gdb_test_no_output "set variable y=2"
+gdb_test_no_output "set variable z=2"
+gdb_test_no_output "set variable w=3"
gdb_test "print x" "14"
gdb_test "print y" "2"
@@ -88,8 +88,8 @@ gdb_test "print x%y%z" "0"
# test precedence rules on pairs of arithmetic operators
-gdb_test "set variable x=10" ""
-gdb_test "set variable y=4" ""
+gdb_test_no_output "set variable x=10"
+gdb_test_no_output "set variable y=4"
# x y z w
# 10 4 2 3