mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
muted test not for windows and added windows temp file convention (#1748)
* muted test not for windows and added windows temp file convention * Update mktemp.rs Revert windows mktmp template difference Co-authored-by: Chad Brewbaker <chad@flyingdogsolutions.com>
This commit is contained in:
co-authored by
Chad Brewbaker
parent
d06f91fbe2
commit
c820329efd
@@ -25,6 +25,7 @@ mod tempdir;
|
||||
|
||||
static ABOUT: &str = "create a temporary file or directory.";
|
||||
static VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
static DEFAULT_TEMPLATE: &str = "tmp.XXXXXXXXXX";
|
||||
|
||||
static OPT_DIRECTORY: &str = "directory";
|
||||
|
||||
@@ -285,7 +285,7 @@ fn test_ls_ls_color() {
|
||||
scene.ucmd().arg("--color=never").arg("z").succeeds();
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "macos"))] // Truncate not available on mac
|
||||
#[cfg(not(any(target_os = "macos", target_os = "windows")))] // Truncate not available on mac or win
|
||||
#[test]
|
||||
fn test_ls_human() {
|
||||
let scene = TestScenario::new(util_name!());
|
||||
|
||||
Reference in New Issue
Block a user