aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2016-04-19 09:06:53 -0700
committerDoug Evans <xdje42@gmail.com>2016-04-19 09:06:53 -0700
commit85c10f77b70007a0c528bdc9dbba1add947b3085 (patch)
tree6e6cc61bbaa0b41d2e66d723389ea354a8402848
parenta55411b9ff672c73172fff98319eb87af5a5fb4c (diff)
downloadfsf-binutils-gdb-85c10f77b70007a0c528bdc9dbba1add947b3085.zip
fsf-binutils-gdb-85c10f77b70007a0c528bdc9dbba1add947b3085.tar.gz
fsf-binutils-gdb-85c10f77b70007a0c528bdc9dbba1add947b3085.tar.bz2
Fix copyright year, remove linux only test.
-rw-r--r--gdb/testsuite/gdb.base/bad-file.exp12
1 files changed, 5 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.base/bad-file.exp b/gdb/testsuite/gdb.base/bad-file.exp
index 0b085a5..82ca3d4 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.