mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
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:
parent
ddf38abe45
commit
5c9c236954
1 changed files with 2 additions and 0 deletions
|
|
@ -22,9 +22,11 @@ if LIBC_PASSWD_FILE
|
||||||
|
|
||||||
config LIBC_PASSWD_FILEPATH
|
config LIBC_PASSWD_FILEPATH
|
||||||
string "Path to passwd file"
|
string "Path to passwd file"
|
||||||
|
default "/tmp/ostest_passwd" if TESTING_OSTEST_MULTIUSER
|
||||||
default "/etc/passwd"
|
default "/etc/passwd"
|
||||||
---help---
|
---help---
|
||||||
Provides the location of the passwd file. The default is /etc/passwd
|
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
|
config LIBC_PASSWD_LINESIZE
|
||||||
int "Maximum line size"
|
int "Maximum line size"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue