coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

date --set is failing in freebsd

Open sylvestre opened this issue 4 years ago • 4 comments


---- test_date::test_date_set_valid_2 stdout ----
current_directory_resolved: 
run: /tmp/cirrus-ci-build/target/debug/coreutils date --set Sat 20 Mar 2021 14:53:01 AWST
thread 'test_date::test_date_set_valid_2' panicked at 'assertion failed: self.success', tests/common/util.rs:86:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- test_date::test_date_set_valid_3 stdout ----
current_directory_resolved: 
run: /tmp/cirrus-ci-build/target/debug/coreutils date --set Sat 20 Mar 2021 14:53:01
thread 'test_date::test_date_set_valid_3' panicked at 'assertion failed: self.success', tests/common/util.rs:86:9

---- test_date::test_date_set_valid_4 stdout ----
current_directory_resolved: 
run: /tmp/cirrus-ci-build/target/debug/coreutils date --set 2020-03-11 21:45:00
thread 'test_date::test_date_set_valid_4' panicked at 'assertion failed: self.success', tests/common/util.rs:86:9

https://github.com/uutils/coreutils/pull/1852/checks?check_run_id=2161834207

Caused by https://github.com/uutils/coreutils/pull/1798

@marcosatti could you please have a look?

sylvestre avatar Mar 22 '21 19:03 sylvestre

@sylvestre Those are expected to fail at the moment - that was what PR #1846 added in. Do you want me to change it to assert a failure for now instead?

GNU handles those dates correctly under my system.

marcosatti avatar Mar 23 '21 05:03 marcosatti

yeah, for these platforms too :) thanks

sylvestre avatar Mar 23 '21 08:03 sylvestre

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 13 '23 12:01 stale[bot]

These tests are still set to expect failure. So still needs to be fixed.

tertsdiepraam avatar Jan 13 '23 22:01 tertsdiepraam