-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test (e2e) : move manpage checks to a separate scenario (#4608) #4611
Conversation
Skipping CI for Draft Pull Request. |
29d7534
to
b08957d
Compare
dbc4d72
to
df2b631
Compare
ddff21e
to
0426c1c
Compare
0426c1c
to
84ed9ef
Compare
@rohanKanojia
on mac-2
So we need to add the man page location into the manpath |
@lilyLuLiu : As far as I remember mac-brno1 and mac-brno2 are amd64 machines right? And mac-brno4 is arm64? I had code in place to set the MANPATH environment variable: crc/pkg/crc/manpages/manpages_unix.go Line 62 in 20e0dd2
Let me try executing |
50bdb63
to
fe31887
Compare
@albfan @lilyLuLiu: I verified the updated version of this PR on the mac-brno2 instance. It seems to be passing. It also seems to be passing on ci which has linux runner (see logs)
|
Move manpages check to a separate scenario that would skip execution for windows Signed-off-by: Rohan Kumar <rohaan@redhat.com>
355291c
to
21448e5
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lilyLuLiu The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@rohanKanojia: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Description
Fixes: #4608
Relates to: #4586
In #4586 , I had added step to check
man -P cat crc
to verify whether man pages are correctly generated after executingcrc setup
in basic scenariomanpath
is not updated correctly;man
command fails to list manpages for CRC. I see that there is an already existing entry for some crc named man page (see man pages didn't cleaned after crc cleanup #4608 (comment))Update
basic.feature
to remove manpage checks and add a new scenariomanpages.feature
to verify manpage generation and cleanup. This new scenario would only be enabled for@darwin
and@linux
environments.Type of change
test, version modification, documentation, etc.)
Proposed changes
These changes update how we verify manpage generation:
Testing
I've run
manpages.feature
on MacOS, Linux machine to verify that these changes don't break anything.Contribution Checklist