summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorDaniel Palmer <daniel@thingy.jp>2026-07-02 17:51:01 +0900
committerThomas Weißschuh <linux@weissschuh.net>2026-07-03 19:31:04 +0200
commit4f5777cfbd98c10e71c7fbfe4615dd499fada7b7 (patch)
treecd07af7b013453df843e5a1b6bf2e3465ccd8cb5 /scripts/basic
parent94518b77e194d71b1d76a2dd75f4891954edc296 (diff)
downloadlinux-next-4f5777cfbd98c10e71c7fbfe4615dd499fada7b7.tar.gz
linux-next-4f5777cfbd98c10e71c7fbfe4615dd499fada7b7.zip
selftests/nolibc: Add test for getcwd() and readlink()
Add a test that uses both getcwd() and readlink() so that both are exercised. First the happy path is tested by fetching what should be the same string via getcwd() and readlink() and checking they match. Then a few different combinations of bad parameters are passed to getcwd() to make sure it returns NULL and sets errno in those cases. Signed-off-by: Daniel Palmer <daniel@thingy.jp> Link: https://patch.msgid.link/20260702085101.3304547-4-daniel@thingy.jp Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions