diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-10-28 23:59:53 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-11-18 19:26:23 +0300 |
commit | ff315bd18f81c8ed90dfd4a7c1b673d9cd67dc8a (patch) | |
tree | 1f0edb3ba3dd699ea979fcbfddb05b20fda1fda6 /winsup/testsuite | |
parent | 57635f85819469d056057748574b10c217a11788 (diff) |
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.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/config/default.exp b/winsup/testsuite/config/default.exp index 3936979a6..8033ea627 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 { |