From f6cdb887a21589df96817e25d53b7bc53c006e76 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 31 Aug 2025 12:45:28 -0700 Subject: [PATCH] fix --- test/fuse_integration/POSIX_COMPLIANCE.md | 2 +- test/fuse_integration/posix_Makefile | 9 +++++---- 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); \