Skip to content
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

added test for tag from profile #971

Merged
merged 4 commits into from
Nov 26, 2023
Merged

added test for tag from profile #971

merged 4 commits into from
Nov 26, 2023

Conversation

mslacken
Copy link
Member

@mslacken mslacken commented Oct 26, 2023

test for issue #967, but seems to work correctly.
Still an addtional test for the overlay tempalting has to be added.

@mslacken
Copy link
Member Author

mslacken commented Nov 6, 2023

@anderbubble The last commit does the fix, if you checkout and reset to HEAD~1 you will see one of the tests failing
close #967

@mslacken mslacken removed the bug Something isn't working label Nov 6, 2023
@mslacken mslacken added this to the 4.5.0 milestone Nov 6, 2023
@anderbubble anderbubble changed the base branch from development to main November 23, 2023 18:40
@anderbubble anderbubble self-assigned this Nov 25, 2023
mslacken and others added 4 commits November 25, 2023 01:54
Signed-off-by: Christian Goll <cgoll@suse.com>
Signed-off-by: Christian Goll <cgoll@suse.com>
Signed-off-by: Christian Goll <cgoll@suse.com>
Writing absolute file names in testenv breaks safety that files in the
test environment are written to the designated temporary path. Adjusted
the relevant tests to use testenv.WriteFile.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
Copy link
Collaborator

@anderbubble anderbubble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed WriteFileAbs to preserve the safety of testenv; but otherwise lgtm.

@anderbubble anderbubble merged commit 5f9fa43 into warewulf:main Nov 26, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants