mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00: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:
parent
d06f91fbe2
commit
c820329efd
2 changed files with 2 additions and 1 deletions
|
@ -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!());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue