[Git][NTPsec/ntpsec][master] Fix bin_test for ntpd/ntpd -h

Eric S. Raymond gitlab at mg.gitlab.com
Sat Jun 18 04:10:23 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
766777c8 by Matt Selsky at 2016-06-17T23:04:40-04:00
Fix bin_test for ntpd/ntpd -h

"Finish off GitLab issue #65: ntpd and ntpq have no command line help option."
added a help option and caused this test to start failing.

- - - - -


1 changed file:

- pylib/bin_test.py


Changes:

=====================================
pylib/bin_test.py
=====================================
--- a/pylib/bin_test.py
+++ b/pylib/bin_test.py
@@ -4,7 +4,7 @@ import re
 from os.path import exists
 
 cmd_map = {
-	("main/ntpd/ntpd",				"-h"):					r'.*must be run as root, not uid.*',
+	("main/ntpd/ntpd",				"-invalid"):			r'.*must be run as root, not uid.*',
 	("main/ntpdig/ntpdig",			"time.apple.com"):		r'.*time.apple.com.*',
 	("main/ntpfrob/ntpfrob",			"-h"):				r'.*illegal option.*',
 	("main/ntpkeygen/ntpkeygen",	  "-M"):				r'.*Generating new md5 file and link.*',



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/766777c8a4291ba159276aac11d9200fc159f70c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160618/c93325ca/attachment.html>


More information about the vc mailing list