4498. [test] Simplify prerequisite checks in system tests.
[RT #43516]
(cherry picked from commit 5480a74b70)
(cherry picked from commit 45fd95544c)
(cherry picked from commit 6e09e18400)
display in punycode or not. Requires idn support
to be enabled at compile time. [RT #43398]
(cherry picked from commit 42470b0b87)
(cherry picked from commit 6552f33198)
(cherry picked from commit 7aec46a5ef)