From 8fb494435889dcb9e1c09b8c7220e47bab717bf9 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mon, 27 Jul 2015 22:15:26 -0400 Subject: hostname-util: add relax parameter to hostname_is_valid Tests are modified to check behaviour with relax and without relax. New tests are added for hostname_cleanup(). Tests are moved a new file (test-hostname-util) because there's now a bunch of them. New parameter is not used anywhere, except in tests, so there should be no observable change. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 7659e7a645..a66c7e1775 100644 --- a/.gitignore +++ b/.gitignore @@ -197,6 +197,7 @@ /test-firewall-util /test-hashmap /test-hostname +/test-hostname-util /test-icmp6-rs /test-id128 /test-inhibit -- cgit v1.2.3-54-g00ecf