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

Fix bug when unpacking a subfolder from an archive #266

Merged
merged 7 commits into from
Oct 11, 2021
Merged

Commits on Oct 1, 2021

  1. Simplify the testing logic for the unpacking test

    It was a bit too complicated with too many parameters. Managed to
    simplify it a bit.
    leouieda committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    b464a7d View commit details
    Browse the repository at this point in the history
  2. Add a test case for unpacking a subfolder

    Tests fail with the expected error message.
    leouieda committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    ca4705a View commit details
    Browse the repository at this point in the history
  3. Fix formatting

    leouieda committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    f4fd9bf View commit details
    Browse the repository at this point in the history
  4. Fix the bug for Unzip

    Added a test case for multiple members (one being a subdir). The
    solution actually leads to simpler code than what we originally had.
    leouieda committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    fc16386 View commit details
    Browse the repository at this point in the history
  5. Fix bug in Untar

    Pretty much the same solution
    leouieda committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    df3e4da View commit details
    Browse the repository at this point in the history
  6. Refactor the test function to make it a bit simpler

    Move the checking of logs and logic for expected paths and log messages
    to their own functions.
    leouieda committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    68e49cf View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2021

  1. Configuration menu
    Copy the full SHA
    fa9b634 View commit details
    Browse the repository at this point in the history