[Bug 3305] New: keygen-comment.sh failure
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Apr 27 11:39:58 AEST 2021
https://bugzilla.mindrot.org/show_bug.cgi?id=3305
Bug ID: 3305
Summary: keygen-comment.sh failure
Product: Portable OpenSSH
Version: 8.6p1
Hardware: Other
OS: Windows 10
Status: NEW
Severity: minor
Priority: P5
Component: Regression tests
Assignee: unassigned-bugs at mindrot.org
Reporter: balu.gajjala at gmail.com
I'm using cygwin to test on my windows machine. keygen-comment.sh fails
at
https://github.com/openssh/openssh-portable/blob/77532609874a99a19e3e2eb2d1b7fa93aef963bb/regress/keygen-comment.sh#L14
$ egrep "^([0-9]+) SHA256:(.){43} ${comment} (.*)\$" ./ssh-ed25519-fgp
256 SHA256:LitlXmGRuL7VHjLgcZLMVa+OGnAZQZjypegmEFMZwZ0 foo bar
(ED25519)
Administrator at balu-saw
/cygdrive/c/Users/Administrator/Desktop/balu/openssh/code/master_branch/openssh-portable/regress/temp_test
$ egrep "^([0-9]+) SHA256:(.){43} ${comment} \(.*\)\$"
./ssh-ed25519-fgp
Administrator at balu-saw
/cygdrive/c/Users/Administrator/Desktop/balu/openssh/code/master_branch/openssh-portable/regress/temp_test
$ egrep -V
grep (GNU grep) 3.0
Packaged by Cygwin (3.0-2)
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and others, see
<http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
Administrator at balu-saw
/cygdrive/c/Users/Administrator/Desktop/balu/openssh/code/master_branch/openssh-portable/regress/temp_test
$
Code change -
from - if ! egrep "^([0-9]+) SHA256:(.){43} ${comment} \(.*\)\$" \
to - if ! egrep "^([0-9]+) SHA256:(.){43} ${comment} (.*)\$" \
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list