We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
hiberfil_sys
1 parent 5f5bcb3 commit eee8ca9Copy full SHA for eee8ca9
library/std/src/fs/tests.rs
@@ -1538,11 +1538,14 @@ fn read_large_dir() {
1538
/// Test the fallback for getting the metadata of files like hiberfil.sys that
1539
/// Windows holds a special lock on, preventing normal means of querying
1540
/// metadata. See #96980.
1541
+///
1542
+/// Note this fails in CI because `hiberfil.sys` does not actually exist there.
1543
+/// Therefore it's marked as ignored.
1544
#[test]
1545
+#[ignore]
1546
#[cfg(windows)]
1547
fn hiberfil_sys() {
1548
let hiberfil = Path::new(r"C:\hiberfil.sys");
-
1549
assert_eq!(true, hiberfil.try_exists().unwrap());
1550
fs::symlink_metadata(hiberfil).unwrap();
1551
fs::metadata(hiberfil).unwrap();
0 commit comments