mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
selftests/fuse: add fuse symlink caching test
This patch adds a simple test that allows to verify that, when resolving a symlink, user-space is called only the first time when caching is enabled or, if caching is disabled, every time the symlink resolution is requested. Signed-off-by: Luis Henriques <luis@igalia.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
parent
29a41bdca2
commit
3e14f079d7
|
|
@ -4,3 +4,4 @@ fusectl_test
|
|||
test_syncfs
|
||||
write_extend_eof_test
|
||||
fuse_acl_cache_test
|
||||
fuse_symlink_cache_test
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ CFLAGS += -Wall -O2 -g $(KHDR_INCLUDES)
|
|||
TEST_GEN_PROGS := fusectl_test test_syncfs
|
||||
TEST_GEN_PROGS += write_extend_eof_test
|
||||
TEST_GEN_PROGS += fuse_acl_cache_test
|
||||
TEST_GEN_PROGS += fuse_symlink_cache_test
|
||||
TEST_GEN_FILES := fuse_mnt
|
||||
|
||||
include ../../lib.mk
|
||||
|
|
@ -28,5 +29,6 @@ $(OUTPUT)/fuse_mnt: CFLAGS += $(VAR_CFLAGS)
|
|||
$(OUTPUT)/fuse_mnt: LDLIBS += $(VAR_LDLIBS)
|
||||
|
||||
$(OUTPUT)/fuse_acl_cache_test: fuse_common.c fuse_acl_cache_test.c
|
||||
$(OUTPUT)/fuse_symlink_cache_test: fuse_common.c fuse_symlink_cache_test.c
|
||||
|
||||
EXTRA_CLEAN := fuse_common.o
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user