coreutils/tests/by-util/test_hostid.rs

9 lines
186 B
Rust
Raw Normal View History

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