NetworkManager/clients/tests/test-client.check-on-disk/test_003-059.expected
Thomas Haller ee4655d168 clients/tests: extend tests to gracefully handle unstable output
Commands that fail with G_DEBUG=fatal-warnings produce unstable
output like

  (process:10743): GLib-CRITICAL **: 16:29:13.635: g_ptr_array_add: assertion 'rarray' failed

To workaround that, add a new option for marking the output as unstable.

An alternative might be to extend the replace_stdout, replace_stderr
arguments to support more powerful matching, like by specifying regular
expression for replacing. However, it's just too complicated. Add a simpler
workaround by passing _UNSTABLE_OUTPUT.
2018-06-11 19:30:50 +02:00

16 lines
352 B
Text

location: clients/tests/test-client.py:810:test_003()/59
cmd: $NMCLI -f UUID,TYPE con
lang: C
returncode: 0
stdout: 192 bytes
>>>
UUID TYPE
UUID-ethernet-REPLACED-REPLACED-REPL ethernet
5fcfd6d7-1e63-3332-8826-a7eda103792d ethernet
UUID-con-xx1-REPLACED-REPLACED-REPLA ethernet
<<<
stderr: 0 bytes
>>>
<<<