test: Run test-setproctitle where setting the process title is supported by libuv
Setting the process title has been enabled in libuv on AIX and z/OS. The latest level of libuv skips only skips testing of uv_set_process_title when __sun is #defined. The Node.js test for supported platforms was getting long so now it only checks for the one unsupported platform the same way as libuv.
This change simplifies the skip test so the test is only skipped when common.isSunOS is true to match libuv. The corresponding libuv test is here: https://github.com/nodejs/node/blob/master/deps/uv/test/test-process-title.c#L63
It was updated when support for setting the process title was added to AIX and z/OS and included in Node.js when libuv was upgraded under PR #11094
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test