mirror of
https://github.com/bootandy/dust.git
synced 2025-12-12 07:40:40 -08:00
Tests ~ simplify by ignoring instead of skipping tests for 'Tests ~ disable two symlink tests which may not be possible on 'windows''
This commit is contained in:
@@ -211,7 +211,7 @@ fn build_temp_file(dir: &TempDir) -> PathBuf {
|
||||
|
||||
// fix! [rivy; 2020-01-22] possible on "windows"?; `ln` is not usually an available command; creation of symbolic links requires special enhanced permissions
|
||||
// ... ref: <https://superuser.com/questions/343074/directory-junction-vs-directory-symbolic-link> @@ <https://archive.is/gpTLE>
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[cfg_attr(target_os = "windows", ignore)]
|
||||
#[test]
|
||||
pub fn test_soft_sym_link() {
|
||||
let dir = Builder::new().tempdir().unwrap();
|
||||
@@ -289,7 +289,7 @@ pub fn test_hard_sym_link() {
|
||||
// Check we don't recurse down an infinite symlink tree
|
||||
// fix! [rivy; 2020-01-22] possible on "windows"?; `ln` is not usually an available command; creation of symbolic links requires special enhanced permissions
|
||||
// ... ref: <https://superuser.com/questions/343074/directory-junction-vs-directory-symbolic-link> @@ <https://archive.is/gpTLE>
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[cfg_attr(target_os = "windows", ignore)]
|
||||
#[test]
|
||||
pub fn test_recursive_sym_link() {
|
||||
let dir = Builder::new().tempdir().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user