mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
Use the last, not first, two digits as the year
This commit is contained in:
parent
6dfa1f8276
commit
c23e1db9c5
2 changed files with 32 additions and 13 deletions
|
@ -935,9 +935,9 @@ fn test_obsolete_posix_format_with_year() {
|
|||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
ucmd.env("_POSIX2_VERSION", "199209")
|
||||
.env("POSIXLY_CORRECT", "1")
|
||||
.args(&["9001010000", "11111111"])
|
||||
.args(&["0101000090", "11111111"])
|
||||
.succeeds()
|
||||
.no_output();
|
||||
assert!(at.file_exists("11111111"));
|
||||
assert!(!at.file_exists("01010000"));
|
||||
assert!(!at.file_exists("0101000090"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue