Clean up testSeqOf
[snmp/agent] Some restructuring of test suite

Removed use of the "-compile(export_all)" attribute and
instead explicitly export functions. This together with
some renaming of internal functions avoids unpredictable
ct side effects. Previously some test cases had "internal"
(since the export_all made all functions exported, not so
much) functions, with the same name but with arity 0,
which did the actual test case. This made for confusing
logs and possible unpredictable test behaviour.
Merge branch 'nox/fix-bs_put_string-renaming/OTP-11129' into maint

* nox/fix-bs_put_string-renaming/OTP-11129:
  Bootstrap
  Fix renaming of bs_put_string instructions
Merge branch 'maint'
Adapt CEA/DPA Failed-AVP to RFC 6733

By setting only one, not many. The handling for other messages (except
DWA, which is forgiving of errors) was dealt with in commit f7ec93e3.
Merge branch 'anders/diameter/inband_security/OTP-11050' into maint

* anders/diameter/inband_security/OTP-11050:
  Don't send default Inband-Security-Id in CER/CEA
Respect Host-IP-Address configuration

Addresses returned from a transport module were always used to populate
Host-IP-Address AVP's in an outgoing CER/CEA, which precluded the
sending of a VIP address. Transport addresses are now only used if
Host-IP-Address is unspecified.

In other words, respect any configured Host-IP-Address, regardless of
the physical addresses returned by the transport. To use the physical
addresses, don't configure Host-IP-Address.
Merge branch 'anders/diameter/host_ip_address/OTP-11045' into maint

* anders/diameter/host_ip_address/OTP-11045:
  Respect Host-IP-Address configuration
Fix setting of Failed-AVP on {answer_message, 5xxx} from handle_request

RFC 6733 says that certain 5xxx result codes must be accompanied by
Failed-AVP, and decode populates #diameter_packet.errors with
Result-Code/AVP pairs for errors it detects. However, Failed-AVP was not
set in the outgoing answer if the handle_request callback returned
{answer_message, 5xxx}. It is now set with the AVP from the first pair
with the specified Result-Code, if found.

Note that {answer_message, 5xxx} doesn't handle all cases in which a
5xxx answer is required, only that in which the setting above is
appropriate. If it isn't then handle_request should construct its answer
and return {reply, Ans}.
Merge branch 'anders/diameter/5xxx_failed_avp/OTP-11092' into maint

* anders/diameter/5xxx_failed_avp/OTP-11092:
  Fix setting of Failed-AVP on {answer_message, 5xxx} from handle_request
Merge branch 'anders/diameter/one_failed_avp/OTP-11127' into maint

* anders/diameter/one_failed_avp/OTP-11127:
  Adapt CEA/DPA Failed-AVP to RFC 6733
Merge branch 'maint'
crypto: Test suite completeness
crypto: Document enhancement
testSeqOf: Test constrained, extensible sizes
Merge branch 'bjorn/compiler/fix-compiler-crash/OTP-11119' into maint

* bjorn/compiler/fix-compiler-crash/OTP-11119:
  compiler: Correct liveness optimization for wait/1
Merge branch 'maint'

* maint:
  compiler: Correct liveness optimization for wait/1
erts: Change erlang:open_port spawn to handle unicode

Previously only 'spawn_executable' handled unicode input.
Also change 'cd' option to always handle unicode.
Update open_port documentation and tests
erts: Change erlang:open_port/2 spec
kernel: Handle unicode in os:cmd

Allow unicode strings in os:cmd and try to convert the
result bytes to unicode list.

Also test it.