mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
Tests ~ disable two symlink tests which may not be possible on 'windows'
This commit is contained in:
@@ -199,6 +199,8 @@ fn build_temp_file(dir: &TempDir) -> PathBuf {
|
|||||||
file_path
|
file_path
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fix! [rivy; 2020-01-22] possible on "windows"?
|
||||||
|
#[cfg(not(target_os = "windows"))]
|
||||||
#[test]
|
#[test]
|
||||||
pub fn test_soft_sym_link() {
|
pub fn test_soft_sym_link() {
|
||||||
let dir = Builder::new().tempdir().unwrap();
|
let dir = Builder::new().tempdir().unwrap();
|
||||||
@@ -273,6 +275,8 @@ pub fn test_hard_sym_link() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check we don't recurse down an infinite symlink tree
|
// Check we don't recurse down an infinite symlink tree
|
||||||
|
// fix! [rivy; 2020-01-22] possible on "windows"?
|
||||||
|
#[cfg(not(target_os = "windows"))]
|
||||||
#[test]
|
#[test]
|
||||||
pub fn test_recursive_sym_link() {
|
pub fn test_recursive_sym_link() {
|
||||||
let dir = Builder::new().tempdir().unwrap();
|
let dir = Builder::new().tempdir().unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user