aboutsummaryrefslogtreecommitdiff
path: root/winsup/testsuite
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-10-28 20:59:53 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2020-11-18 16:26:23 +0000
commitff315bd18f81c8ed90dfd4a7c1b673d9cd67dc8a (patch)
tree1f0edb3ba3dd699ea979fcbfddb05b20fda1fda6 /winsup/testsuite
parent57635f85819469d056057748574b10c217a11788 (diff)
downloadnewlib-ff315bd18f81c8ed90dfd4a7c1b673d9cd67dc8a.zip
newlib-ff315bd18f81c8ed90dfd4a7c1b673d9cd67dc8a.tar.gz
newlib-ff315bd18f81c8ed90dfd4a7c1b673d9cd67dc8a.tar.bz2
Cygwin: Use grep in text mode to look for version strings
Invoke grep in text mode when looking for version strings inside the cygwin DLL, so it outputs something more informative than: Binary file ../cygwin/cygwin0.dll matches
Diffstat (limited to 'winsup/testsuite')
-rw-r--r--winsup/testsuite/config/default.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/config/default.exp b/winsup/testsuite/config/default.exp
index 3936979..8033ea6 100644
--- a/winsup/testsuite/config/default.exp
+++ b/winsup/testsuite/config/default.exp
@@ -1,7 +1,7 @@
proc winsup_version {} {
global env
global rootme
- clone_output "\n[exec grep ^%%% $rootme/../cygwin/cygwin0.dll]\n"
+ clone_output "\n[exec grep -a ^%%% $rootme/../cygwin/cygwin0.dll]\n"
if { [info exists env(CYGWIN)] } {
clone_output "CYGWIN=$env(CYGWIN)\n"
} else {