libc/pwd: default ostest multiuser passwd path to /tmp/ostest_passwd

When CONFIG_TESTING_OSTEST_MULTIUSER is enabled, default
CONFIG_LIBC_PASSWD_FILEPATH to a writable tmpfs path used by the
ostest multiuser passwd sub-test.

Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
This commit is contained in:
Abhishek Mishra 2026-07-29 13:49:01 +00:00 committed by Xiang Xiao
parent ddf38abe45
commit 5c9c236954

View file

@ -22,9 +22,11 @@ if LIBC_PASSWD_FILE
config LIBC_PASSWD_FILEPATH
string "Path to passwd file"
default "/tmp/ostest_passwd" if TESTING_OSTEST_MULTIUSER
default "/etc/passwd"
---help---
Provides the location of the passwd file. The default is /etc/passwd
(/tmp/ostest_passwd when CONFIG_TESTING_OSTEST_MULTIUSER is enabled).
config LIBC_PASSWD_LINESIZE
int "Maximum line size"