+2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
+
+ * gdb.base/info_sources.exp: Skip directory match tests on
+ remote hosts.
+
2020-07-13 Gary Benson <gbenson@redhat.com>
* gdb.base/savedregs.exp (caller): Use parentheses to
# List both files with regexp matching anywhere in the filenames:
test_info_sources "info_sources" 1 1
-test_info_sources "gdb.base" 1 1
+if { ! [is_remote host] } {
+ test_info_sources "gdb.base" 1 1
+}
# List both files with regexp matching the filename basenames,
# using various parts of the -basename option:
# List the files with dirname matching regexp,
# using various part of the -dirname option:
-test_info_sources "-d base" 1 1
-test_info_sources "-dirname base" 1 1
+if { ! [is_remote host] } {
+ test_info_sources "-d base" 1 1
+ test_info_sources "-dirname base" 1 1
+}
# Test non matching regexp, with option terminator:
test_info_sources "-b -- -d" 0 0