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

Tests: add follow-symlinks to sed for nsswitch #6975

Closed

Conversation

spoore1
Copy link
Contributor

@spoore1 spoore1 commented Oct 5, 2023

The multihost/alltests/test_automount_from_bash.py test module runs a sed against /etc/nsswitch.conf which convers it from a link to a file. This causes issues with authselect in later tests resulting in test errors. This can be fixed by adding the --follow-symlinks option.

The restore() from the fixture should return the config to it's original content.

The multihost/alltests/test_automount_from_bash.py test module runs a
sed against /etc/nsswitch.conf which convers it from a link to a file.
This causes issues with authselect in later tests resulting in test
errors.  This can be fixed by adding the --follow-symlinks option.

The restore() from the fixture should return the config to it's original
content.
Copy link
Contributor

@jakub-vavra-cz jakub-vavra-cz left a comment

Choose a reason for hiding this comment

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

LGTM

@alexey-tikhonov
Copy link
Member

Pushed PR: #6975

  • master
    • 1082f25 - Tests: add follow-symlinks to sed for nsswitch
  • sssd-2-9
    • 3b939ce - Tests: add follow-symlinks to sed for nsswitch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants