1
Fork 0
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:
Chad Brewbaker 2021-03-06 11:26:55 -06:00 committed by GitHub
parent d06f91fbe2
commit c820329efd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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";

View file

@ -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!());