coreutils/tests/by-util/test_hostid.rs
2023-04-10 08:31:31 +02:00

8 lines
186 B
Rust

use crate::common::util::TestScenario;
use regex::Regex;
#[test]
fn test_normal() {
let re = Regex::new(r"^[0-9a-f]{8}").unwrap();
new_ucmd!().succeeds().stdout_matches(&re);
}