test: skip the pwd_shell test on IBMi

On IBMi PASE, the value of pw_shell is always an empty string.

PR-URL: https://github.com/libuv/libuv/pull/2592
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Xu Meng 2020-01-03 01:25:18 -06:00 committed by cjihrig
parent 7611294da9
commit 174a6edf0d
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -38,7 +38,9 @@ TEST_IMPL(get_passwd) {
ASSERT(pwd.shell == NULL);
#else
len = strlen(pwd.shell);
# ifndef __PASE__
ASSERT(len > 0);
# endif
#endif
len = strlen(pwd.homedir);