1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

Remove some warnings

This commit is contained in:
Sylvestre Ledru 2021-01-21 21:14:50 +01:00 committed by Sylvestre Ledru
parent a807fc623a
commit 18370f39b8
2 changed files with 1 additions and 4 deletions

View file

@ -352,7 +352,7 @@ fn test_chmod_symlink_non_existing_file() {
let (at, mut ucmd) = at_and_ucmd!(); let (at, mut ucmd) = at_and_ucmd!();
at.symlink_file("/non-existing", "test-long.link"); at.symlink_file("/non-existing", "test-long.link");
let result = ucmd let _result = ucmd
.arg("-R") .arg("-R")
.arg("755") .arg("755")
.arg("-v") .arg("-v")

View file

@ -37,7 +37,6 @@ fn test_long_redirection_to_root() {
fn test_file_and_links() { fn test_file_and_links() {
let scene = TestScenario::new(util_name!()); let scene = TestScenario::new(util_name!());
let at = &scene.fixtures; let at = &scene.fixtures;
let result = scene.ucmd().run();
at.touch("foo"); at.touch("foo");
at.symlink_file("foo", "bar"); at.symlink_file("foo", "bar");
@ -55,7 +54,6 @@ fn test_file_and_links() {
fn test_file_and_links_zero() { fn test_file_and_links_zero() {
let scene = TestScenario::new(util_name!()); let scene = TestScenario::new(util_name!());
let at = &scene.fixtures; let at = &scene.fixtures;
let result = scene.ucmd().run();
at.touch("foo"); at.touch("foo");
at.symlink_file("foo", "bar"); at.symlink_file("foo", "bar");
@ -75,7 +73,6 @@ fn test_file_and_links_zero() {
fn test_file_and_links_strip() { fn test_file_and_links_strip() {
let scene = TestScenario::new(util_name!()); let scene = TestScenario::new(util_name!());
let at = &scene.fixtures; let at = &scene.fixtures;
let result = scene.ucmd().run();
at.touch("foo"); at.touch("foo");
at.symlink_file("foo", "bar"); at.symlink_file("foo", "bar");