]> Savannah Git Hosting - gnulib.git/commit
getusershell tests: Fail if empty lines are returned.
authorCollin Funk <collin.funk1@gmail.com>
Sat, 18 May 2024 01:53:51 +0000 (18:53 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Sat, 18 May 2024 01:53:51 +0000 (18:53 -0700)
commitf77eb82cec43e043762c7e746375bc1879aa4849
tree88d20eb7cfea3539d4a05fad73b9a03d874a65f1
parent9eae45336caf379a72fd34b2b4a71fa07ce8cfea
getusershell tests: Fail if empty lines are returned.

* tests/test-getusershell.c (first_pass): Check the result of malloc.
Make sure '\0' isn't returned from getusershell when there is an empty
line in /etc/shells.
ChangeLog
tests/test-getusershell.c