Skip to content

Commit 4f1a390

Browse files
committed
Disable tests that require creation time on musl
Creation time will only be supported on the musl target once rust-lang/rust#125692 lands.
1 parent 7d42082 commit 4f1a390

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/coreos.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ mod test {
5656
"ostree-commit": "b2ea6159d6274e1bbbb49aa0ef093eda5d53a75c8a793dbe184f760ed64dc862"
5757
}"##;
5858

59+
// Waiting on https://github.com/rust-lang/rust/pull/125692
60+
#[cfg(not(target_env = "musl"))]
5961
#[test]
6062
fn test_parse_from_root_empty() -> Result<()> {
6163
// Verify we're a no-op in an empty root
@@ -65,6 +67,8 @@ mod test {
6567
Ok(())
6668
}
6769

70+
// Waiting on https://github.com/rust-lang/rust/pull/125692
71+
#[cfg(not(target_env = "musl"))]
6872
#[test]
6973
fn test_parse_from_root() -> Result<()> {
7074
let root: &tempfile::TempDir = &tempfile::tempdir()?;
@@ -77,6 +81,8 @@ mod test {
7781
Ok(())
7882
}
7983

84+
// Waiting on https://github.com/rust-lang/rust/pull/125692
85+
#[cfg(not(target_env = "musl"))]
8086
#[test]
8187
fn test_parse_from_root_linked() -> Result<()> {
8288
let root: &tempfile::TempDir = &tempfile::tempdir()?;

src/filetree.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,8 @@ mod tests {
624624
assert!(!dp.exists(".btmp.b")?);
625625
Ok(())
626626
}
627+
// Waiting on https://github.com/rust-lang/rust/pull/125692
628+
#[cfg(not(target_env = "musl"))]
627629
#[test]
628630
fn test_apply_with_file() -> Result<()> {
629631
let tmpd = tempfile::tempdir()?;

0 commit comments

Comments
 (0)