NetworkManager/include
Thomas Haller f529fedd17 test: fix parsing of command line arguments for setting nmtst_test_quick()
glib interprets the options either as "-m arg" or "-m=arg". Fix parsing
to check for both cases.

Also, g_test_init() removes the parsed options from argv, hence we must
check our original copy in __nmtst_internal.orig_argv.

Now the following all have the same outcome:

  $ NMTST_DEBUG=no-debug,quick ./src/rdisc/tests/test-rdisc-fake
  $ ./src/rdisc/tests/test-rdisc-fake -m quick
  $ ./src/rdisc/tests/test-rdisc-fake -m=quick

Fixes: a2edd6445f
2015-05-04 09:16:31 +02:00
..
gsystem-local-alloc.h libgsystem: update copy of gsystem-local-alloc.h 2015-03-12 18:09:29 +01:00
Makefile.am include: drop nm-settings-flags.h, move NMSecretAgentGetSecretsFlags 2014-08-01 14:34:39 -04:00
nm-dbus-glib-types.h core: fix new NMIP4Config and NMIP6Config properties 2014-11-07 11:09:35 -05:00
nm-glib-compat.h glib-compat: sync local definition of g_clear_pointer() with upstream glib and remove atomic operations 2014-11-12 11:11:41 +01:00
nm-gvaluearray-compat.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-test-utils.h test: fix parsing of command line arguments for setting nmtst_test_quick() 2015-05-04 09:16:31 +02:00
nm-utils-internal.h utils: add nm_clear_g_source() helper 2015-04-28 18:25:43 +02:00