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

adjust error for runcon & stdbuf to make tests/misc/invalid-opt.pl pass

This commit is contained in:
Sylvestre Ledru 2024-08-20 22:23:04 +02:00
parent 3cad85f05a
commit 001b97f445
7 changed files with 70 additions and 24 deletions

View file

@ -5,6 +5,11 @@
#[cfg(not(target_os = "windows"))]
use crate::common::util::TestScenario;
#[test]
fn invalid_input() {
new_ucmd!().arg("-/").fails().code_is(125);
}
#[cfg(all(not(target_os = "windows"), not(target_os = "openbsd")))]
#[test]
fn test_stdbuf_unbuffered_stdout() {