From 85c10f77b70007a0c528bdc9dbba1add947b3085 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 19 Apr 2016 09:06:53 -0700 Subject: [PATCH] Fix copyright year, remove linux only test. --- gdb/testsuite/gdb.base/bad-file.exp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/gdb/testsuite/gdb.base/bad-file.exp b/gdb/testsuite/gdb.base/bad-file.exp index 0b085a5f681..82ca3d4c658 100644 --- a/gdb/testsuite/gdb.base/bad-file.exp +++ b/gdb/testsuite/gdb.base/bad-file.exp @@ -1,4 +1,4 @@ -# Copyright 2015 Free Software Foundation, Inc. +# Copyright 2016 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -15,12 +15,10 @@ # Test passing bad files to gdb. PR symtab/17911 -# We watch for specific text for errno, so only test on systems we have -# confidence in the error text. - -if { ! [ishost "*-*-linux*"] } { - return 0 -} +# Note: While we test for specific text in error messages, +# thus perhaps making the test host specific, if your host +# print different text then the plan is to update the expected text +# instead of making this test linux-only or some such. # There is no such file, but we still use the normal mechanism to pick # its name and path. -- 2.30.2