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

Ensure ZSH-related tests succeed when TERM variable is set to linux #497

Merged
merged 2 commits into from
Aug 4, 2024

Commits on Aug 2, 2024

  1. Fix ZSH tests when TERM variable is set to linux

    Running the test-suite with TERM=linux causes the ZSH related tests to
    fail. Fixed by hardcoding TERM="" when running the ZSH tests.
    
    Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
    ogayot committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    5c014ab View commit details
    Browse the repository at this point in the history
  2. Also ensure zsh does not load global RC files when running test-suite

    While bash only has a single option for disabling bashrc loading, ZSH
    comes with two options: one for $HOME/.zshrc and one for the global
    zshrc (typically located in /etc). Pass both options to avoid surprises.
    
    Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
    ogayot committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    0981e74 View commit details
    Browse the repository at this point in the history