aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/environ.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/environ.exp')
-rw-r--r--gdb/testsuite/gdb.base/environ.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/environ.exp b/gdb/testsuite/gdb.base/environ.exp
index 0b69a80..bb52063 100644
--- a/gdb/testsuite/gdb.base/environ.exp
+++ b/gdb/testsuite/gdb.base/environ.exp
@@ -46,6 +46,9 @@ gdb_test "unset environment" "" "unset all environment variables" \
"Delete all environment variables. .y or n. $" \
"y"
+gdb_test_no_output "show environment" \
+ "all environment variables have been unset"
+
# Verify that we can set a specific environment variable.
test_set_show_env_var "EDITOR" "emacs" "set environment variable"