Blame SOURCES/gdb-6.3-focus-cmd-prev-test.patch

e1d87d
Index: gdb-7.12.50.20170226/gdb/testsuite/gdb.base/focus-cmd-prev.exp
e1d87d
===================================================================
e1d87d
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
e1d87d
+++ gdb-7.12.50.20170226/gdb/testsuite/gdb.base/focus-cmd-prev.exp	2017-03-02 09:39:14.508461085 +0100
e1d87d
@@ -0,0 +1,40 @@
e1d87d
+# Copyright 2008 Free Software Foundation, Inc.
e1d87d
+
e1d87d
+# This program is free software; you can redistribute it and/or modify
e1d87d
+# it under the terms of the GNU General Public License as published by
e1d87d
+# the Free Software Foundation; either version 2 of the License, or
e1d87d
+# (at your option) any later version.
e1d87d
+#
e1d87d
+# This program is distributed in the hope that it will be useful,
e1d87d
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
e1d87d
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
e1d87d
+# GNU General Public License for more details.
e1d87d
+#
e1d87d
+# You should have received a copy of the GNU General Public License
e1d87d
+# along with this program; if not, write to the Free Software
e1d87d
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
e1d87d
+
e1d87d
+if $tracelevel then {
e1d87d
+    strace $tracelevel
e1d87d
+}
e1d87d
+
e1d87d
+gdb_exit
e1d87d
+gdb_start
e1d87d
+
e1d87d
+# Do not use gdb_test or \r\n there since:
e1d87d
+# commit d7e747318f4d04af033f16325f9b6d74f67079ec
e1d87d
+#     Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy
e1d87d
+
e1d87d
+set test "focus cmd"
e1d87d
+gdb_test_multiple $test $test {
e1d87d
+    -re "$gdb_prompt $" {
e1d87d
+	pass $test
e1d87d
+    }
e1d87d
+}
e1d87d
+
e1d87d
+set test "focus prev"
e1d87d
+gdb_test_multiple $test $test {
e1d87d
+    -re "$gdb_prompt $" {
e1d87d
+	pass $test
e1d87d
+    }
e1d87d
+}