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/du: run test_du_time with TZ=UTC. #4446

Merged
merged 1 commit into from
Mar 3, 2023
Merged

Commits on Mar 2, 2023

  1. tests/du: run test_du_time with TZ=UTC.

    du --time formats a file's timestamp according to the local timezone,
    but the test implicitly assumed UTC. This caused it to fail when
    running locally in my UTC+1 machine.
    
    $ cargo test --features "du touch" --no-default-features
    Failure: https://gist.github.com/eggpi/651e01559b7c59e9457c1b22fe4c0c19
    eggpi committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    d291197 View commit details
    Browse the repository at this point in the history