diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-08-26 19:12:17 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2009-08-26 19:12:17 +0000 |
commit | 07ab73a053212a07fe9c93372a0736ad599a5a4c (patch) | |
tree | 64cc118f95f4d2b9a8f85c19a607663598912e8b /gdb/testsuite/gdb.mi/mi2-basics.exp | |
parent | 2cbd22112172a92c52a1e698e423b375e04a5f79 (diff) | |
download | gdb-07ab73a053212a07fe9c93372a0736ad599a5a4c.zip gdb-07ab73a053212a07fe9c93372a0736ad599a5a4c.tar.gz gdb-07ab73a053212a07fe9c93372a0736ad599a5a4c.tar.bz2 |
* gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
environment-pwd for remote host.
* gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-basics.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-basics.exp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-basics.exp b/gdb/testsuite/gdb.mi/mi2-basics.exp index db22c93..7d72afb 100644 --- a/gdb/testsuite/gdb.mi/mi2-basics.exp +++ b/gdb/testsuite/gdb.mi/mi2-basics.exp @@ -186,9 +186,13 @@ proc test_cwd_specification {} { "205\\\^done" \ "environment-cd arg operation" - mi_gdb_test "206-environment-pwd" \ + # The canonical name of the working directory may differ on a + # remote host from that on the build system. + if ![is_remote host] { + mi_gdb_test "206-environment-pwd" \ "206\\\^done,cwd=\"${escapedobjdir}\"" \ "environment-pwd operation" + } } proc test_path_specification {} { |