coreutils/tests/by-util/test_hostid.rs

10 lines
201 B
Rust
Raw Normal View History

use crate::common::util::*;
extern crate regex;
use self::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);
}