aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-08-31 12:45:28 -0700
committerchrislu <chris.lu@gmail.com>2025-08-31 12:45:28 -0700
commitf6cdb887a21589df96817e25d53b7bc53c006e76 (patch)
tree36721c6b14e2a9f43b0311e075e28bab0e5bf5cd
parent5ab059d2878a152b36ad32694e0854208ef304e9 (diff)
downloadseaweedfs-f6cdb887a21589df96817e25d53b7bc53c006e76.tar.xz
seaweedfs-f6cdb887a21589df96817e25d53b7bc53c006e76.zip
fix
-rw-r--r--test/fuse_integration/POSIX_COMPLIANCE.md2
-rw-r--r--test/fuse_integration/posix_Makefile9
2 files changed, 6 insertions, 5 deletions
diff --git a/test/fuse_integration/POSIX_COMPLIANCE.md b/test/fuse_integration/POSIX_COMPLIANCE.md
index d7586aa23..48fa230a4 100644
--- a/test/fuse_integration/POSIX_COMPLIANCE.md
+++ b/test/fuse_integration/POSIX_COMPLIANCE.md
@@ -289,7 +289,7 @@ make -f posix_Makefile setup-pjdfstest
make -f posix_Makefile test-pjdfstest
```
-#### nfstest
+#### nfstest_posix
```bash
# Install and run nfstest_posix
make -f posix_Makefile setup-nfstest
diff --git a/test/fuse_integration/posix_Makefile b/test/fuse_integration/posix_Makefile
index 8aca553f9..a369cb5ef 100644
--- a/test/fuse_integration/posix_Makefile
+++ b/test/fuse_integration/posix_Makefile
@@ -193,17 +193,18 @@ endif
@echo "$(GREEN)[COVERAGE] Coverage report generated: $(REPORT_DIR)/posix_coverage.html$(RESET)"
# External tool tests
-test-pjdfstest: setup-external-tools
+test-pjdfstest: setup-pjdfstest setup-reports
@echo "$(CYAN)[TEST] Running pjdfstest suite...$(RESET)"
@if [ -d "$(EXTERNAL_TOOLS_DIR)/pjdfstest" ]; then \
- cd $(EXTERNAL_TOOLS_DIR)/pjdfstest && \
- prove -r tests/ 2>&1 | tee ../../$(REPORT_DIR)/pjdfstest_results.log; \
+ mkdir -p $(MOUNT_POINT)/pjdfstest_workdir; \
+ cd $(MOUNT_POINT)/pjdfstest_workdir && \
+ prove -r $(CURDIR)/$(EXTERNAL_TOOLS_DIR)/pjdfstest/tests/ 2>&1 | tee $(CURDIR)/$(REPORT_DIR)/pjdfstest_results.log; \
else \
echo "$(RED)❌ pjdfstest not setup$(RESET)"; \
exit 1; \
fi
-test-nfstest-posix:
+test-nfstest-posix: setup-nfstest setup-reports
@echo "$(CYAN)[TEST] Running nfstest_posix...$(RESET)"
@if command -v nfstest_posix >/dev/null 2>&1; then \
mkdir -p $(MOUNT_POINT); \