1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-15 17:51:07 +00:00
uutils-coreutils/tests/by-util/test_hostid.rs
2021-04-18 02:32:43 +03:00

9 lines
201 B
Rust

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();
new_ucmd!().succeeds().stdout_matches(&re);
}