mirror of
https://github.com/bootandy/dust.git
synced 2025-12-12 15:49:58 -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
|
// 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>
|
// ... 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]
|
#[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();
|
||||||
@@ -289,7 +289,7 @@ 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"?; `ln` is not usually an available command; creation of symbolic links requires special enhanced permissions
|
// 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>
|
// ... 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]
|
#[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