On 16/11/11 07:19, Dan Williams wrote:
to test the connectivity check, do eg:

./NetworkManager --no-daemon --log-level=DEBUG --log-domains=CORE
--connectivity-uri=http://toabctl.de
--connectivity-response="<title>toabctl.de</title>"

Pretty much what I was thinking about, but I wonder what we should do
for the expected response.  I'm not sure a regex is the right way to go
at the moment because regex libraries differ in syntax and that might
tie us into a specific one.  But regex is powerful :)  I think maybe for
the moment we should just specify that it's a string match.

you mean just (g_strcmp0 (defined_string, response_string) == 0) ? That's it?

Cheers,

Tom
_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to