Skip to content

Commit

Permalink
test: skip the pwd_shell test on IBMi
Browse files Browse the repository at this point in the history
On IBMi PASE, the value of pw_shell is always an empty string.

PR-URL: libuv#2592
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
dmabupt authored and cjihrig committed Feb 28, 2020
1 parent 7611294 commit 174a6ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test-get-passwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 174a6ed

Please sign in to comment.