diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/history-duplicates.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/history-duplicates.exp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/history-duplicates.exp b/gdb/testsuite/gdb.base/history-duplicates.exp index 11bb1ed..1c3c2c2 100644 --- a/gdb/testsuite/gdb.base/history-duplicates.exp +++ b/gdb/testsuite/gdb.base/history-duplicates.exp @@ -51,9 +51,16 @@ proc run_print_on_each_thing { things } { } } -# By default the option is set to 0. gdb_exit gdb_start + +# These tests require readline support. +if { ![readline_is_used] } { + unsupported "readline isn't used." + return -1 +} + +# By default the option is set to 0. gdb_test "show history remove-duplicates" "is 0\\." # Test the "unlimited" setting. |