1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-16 03:36:18 +00:00

Merge branch 'main' into tail_notify

This commit is contained in:
Jan Scheer 2022-05-27 23:44:24 +02:00
commit 4cb6b094f5
No known key found for this signature in database
GPG key ID: C62AD4C29E2B9828
4 changed files with 18 additions and 2 deletions

View file

@ -1,3 +1,4 @@
// spell-checker:ignore overridable
use crate::common::util::*;
extern crate dircolors;
@ -78,6 +79,19 @@ fn test_csh_default() {
.run()
.stdout_is_fixture("csh_def.expected");
}
#[test]
fn test_overridable_args() {
new_ucmd!()
.env("TERM", "screen")
.arg("-bc")
.run()
.stdout_is_fixture("csh_def.expected");
new_ucmd!()
.env("TERM", "screen")
.arg("-cb")
.run()
.stdout_is_fixture("bash_def.expected");
}
#[test]
fn test_no_env() {