From patchwork Tue Oct 11 19:32:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Weigand X-Patchwork-Id: 4636 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A316D23DED for ; Tue, 11 Oct 2011 19:32:37 +0000 (UTC) Received: from mail-bw0-f52.google.com (mail-bw0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id 8B118A183AF for ; Tue, 11 Oct 2011 19:32:37 +0000 (UTC) Received: by bke5 with SMTP id 5so13126008bke.11 for ; Tue, 11 Oct 2011 12:32:37 -0700 (PDT) Received: by 10.223.77.69 with SMTP id f5mr41427285fak.3.1318361557000; Tue, 11 Oct 2011 12:32:37 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.24.41 with SMTP id r9cs182511laf; Tue, 11 Oct 2011 12:32:36 -0700 (PDT) Received: by 10.227.195.13 with SMTP id ea13mr7942070wbb.36.1318361556380; Tue, 11 Oct 2011 12:32:36 -0700 (PDT) Received: from mtagate2.uk.ibm.com (mtagate2.uk.ibm.com. [194.196.100.162]) by mx.google.com with ESMTPS id ge4si17272117wbb.48.2011.10.11.12.32.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Oct 2011 12:32:36 -0700 (PDT) Received-SPF: pass (google.com: domain of uweigand@de.ibm.com designates 194.196.100.162 as permitted sender) client-ip=194.196.100.162; Authentication-Results: mx.google.com; spf=pass (google.com: domain of uweigand@de.ibm.com designates 194.196.100.162 as permitted sender) smtp.mail=uweigand@de.ibm.com Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate2.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p9BJWZ6L004477 for ; Tue, 11 Oct 2011 19:32:35 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p9BJWZBp2150426 for ; Tue, 11 Oct 2011 20:32:35 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p9BJWZTC002639 for ; Tue, 11 Oct 2011 13:32:35 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id p9BJWYJR002612 for ; Tue, 11 Oct 2011 13:32:34 -0600 Message-Id: <201110111932.p9BJWYJR002612@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Tue, 11 Oct 2011 21:32:34 +0200 Subject: [commit, testsuite] Fix py-shared.exp file name comparison with "remote:" sysroot To: patches@linaro.org Date: Tue, 11 Oct 2011 21:32:34 +0200 (CEST) From: "Ulrich Weigand" X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 http://sourceware.org/ml/gdb-patches/2011-10/msg00326.html ChangeLog: * gdb.python/py-shared.exp: Relax filename check to handle remote: sysroot. Index: gdb/testsuite/gdb.python/py-shared.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.python/py-shared.exp,v retrieving revision 1.4 diff -u -p -r1.4 py-shared.exp --- gdb/testsuite/gdb.python/py-shared.exp 22 Jul 2011 17:45:16 -0000 1.4 +++ gdb/testsuite/gdb.python/py-shared.exp 11 Oct 2011 18:53:22 -0000 @@ -62,7 +62,7 @@ runto [gdb_get_line_number "Break to end # Test gdb.solib_name gdb_test "p &func1" "" "func1 address" gdb_py_test_silent_cmd "python func1 = gdb.history(0)" "Aquire func1 address" 1 -gdb_test "python print gdb.solib_name(long(func1))" "gdb/testsuite/gdb.python/py-shared-sl.sl" "test func1 solib location" +gdb_test "python print gdb.solib_name(long(func1))" "py-shared-sl.sl" "test func1 solib location" gdb_test "p &main" "" "main address" gdb_py_test_silent_cmd "python main = gdb.history(0)" "Aquire main address" 1