overlay: getdents: support lseek

Refs: #1421
Change-Id: Ife7ab1b50159a5897552ff695bb001ada27ec934
This commit is contained in:
Masamichi Takagi
2019-11-13 15:51:20 +09:00
parent 7fc4272b89
commit 3c256e1a6c
5 changed files with 667 additions and 75 deletions

11
test/issues/1421/Makefile Normal file
View File

@ -0,0 +1,11 @@
include $(HOME)/.mck_test_config.mk
TARGET=1421
all: $(TARGET)
test: $(TARGET)
@echo "===== getdents count: 40"
$(MCK_DIR)/bin/mcexec ./$(TARGET) /sys/devices/system/node 40
@printf "\n===== getdents count: 200\n"
$(MCK_DIR)/bin/mcexec ./$(TARGET) /sys/devices/system/node 200