diff --git a/deps/sefs b/deps/sefs index 1be96ad3..e0cf9c10 160000 --- a/deps/sefs +++ b/deps/sefs @@ -1 +1 @@ -Subproject commit 1be96ad39575361037b456f4e5c1eb7b4fbfacec +Subproject commit e0cf9c102875e9589ac862766cb8a17f94bfbee4 diff --git a/test/file/main.c b/test/file/main.c index 165c8d4b..21d9a5b2 100644 --- a/test/file/main.c +++ b/test/file/main.c @@ -23,6 +23,12 @@ int main(int argc, const char* argv[]) { printf("ERROR: failed to write to the file\n"); return -1; } + + // lseek + if ((offset = lseek(fd, 0, SEEK_END)) != 12) { + printf("ERROR: failed to lseek the file\n"); + return -1; + } close(fd); // read