summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/set-lang-auto.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/set-lang-auto.exp')
-rw-r--r--gdb/testsuite/gdb.base/set-lang-auto.exp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/set-lang-auto.exp b/gdb/testsuite/gdb.base/set-lang-auto.exp
index 5edf3d5f2cd..882463af21c 100644
--- a/gdb/testsuite/gdb.base/set-lang-auto.exp
+++ b/gdb/testsuite/gdb.base/set-lang-auto.exp
@@ -44,8 +44,7 @@ gdb_test "show lang" \
# Now, switch the language to a specific language, instead of leaving it
# on auto.
-gdb_test "set lang ada" \
- "" \
+gdb_test_no_output "set lang ada" \
"forcing the language to ada"
# Verify that the language is now "ada".
@@ -54,8 +53,7 @@ gdb_test "show lang" \
"show lang after switching language to ada"
# Then, switch back to auto...
-gdb_test "set lang auto" \
- "" \
+gdb_test_no_output "set lang auto" \
"switching the language back to auto"
# ... And verify that the language mode is back to auto *and* that