NetworkManager/test
Jiří Klimeš 20fb078dd6 nm-online: fix nm-online to report online status correctly (rh #1054364)
This fixes a behaviour change made by 44ac1020da.
That commit make nm-online to wait for NM finishing startup instead of waiting
for a real connection. So for NetworkManager fully initialized, but
disconnected nm-online would return 0.

$ nmcli -f RUNNING,STATE,STARTUP,CONNECTIVITY gen status
RUNNING  STATE         STARTUP  CONNECTIVITY
running  disconnected  started  none

Revert back to the original behaviour of waiting for a connection. And
introduce a new option '--wait-for-startup' waiting for NetworkManager
finishing its startup, which is useful in some cases, like
NetworkManager-wait-online.service.

https://bugzilla.redhat.com/show_bug.cgi?id=1054364
2014-03-31 08:37:10 +02:00
..
add-connection.py use /usr/bin/env instead of /bin/env 2011-03-29 01:00:47 +02:00
debug-helper.py test: fix errors in debug helper if a service isn't running 2011-12-19 21:04:54 -06:00
libnm-glib-test.c libnm-glib: libnm_glib -> libnm-glib 2009-08-26 13:07:35 -05:00
Makefile.am libnm-util, libnm-glib: add versioned deprecation/availability macros 2014-02-13 11:24:37 -05:00
nm-dhcp-opt-test.c all: replace struct in_addr with guint32 2013-08-03 00:15:07 -05:00
nm-online.c nm-online: fix nm-online to report online status correctly (rh #1054364) 2014-03-31 08:37:10 +02:00
set-hostname.py use /usr/bin/env instead of /bin/env 2011-03-29 01:00:47 +02:00