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

pkg/entrypoint: clean after running tests #4175

Merged
merged 1 commit into from
Aug 20, 2021

Commits on Aug 20, 2021

  1. pkg/entrypoint: clean after running tests

    TestEntrypointer_OnError leaves some created file behind :
    `termination`. This change does 2 things:
    
    - Use a temporary file in order to not create anything in the current
    directory
    - Make sure we remove the file once the test is done
    
    This also uses a temporary file for TestEntrypointer
    
    Signed-off-by: Vincent Demeester <[email protected]>
    vdemeester committed Aug 20, 2021
    Configuration menu
    Copy the full SHA
    d410662 View commit details
    Browse the repository at this point in the history