diff options
| author | chrislu <chris.lu@gmail.com> | 2025-08-31 13:32:52 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-08-31 13:32:52 -0700 |
| commit | bf5f32b2f7e30d130aae29be1269d712a1894c5b (patch) | |
| tree | 4f8da454dec92625d76da23b72b316f8f62d5065 /test/fuse_integration/posix_external_test.go | |
| parent | 2915be4fa30947c548ab40a364bd47fe4d477310 (diff) | |
| download | seaweedfs-bf5f32b2f7e30d130aae29be1269d712a1894c5b.tar.xz seaweedfs-bf5f32b2f7e30d130aae29be1269d712a1894c5b.zip | |
external posix tests
Diffstat (limited to 'test/fuse_integration/posix_external_test.go')
| -rw-r--r-- | test/fuse_integration/posix_external_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/fuse_integration/posix_external_test.go b/test/fuse_integration/posix_external_test.go index f1c2a1021..c6c02a061 100644 --- a/test/fuse_integration/posix_external_test.go +++ b/test/fuse_integration/posix_external_test.go @@ -64,6 +64,10 @@ func (s *ExternalPOSIXTestSuite) TestPjdFsTest(t *testing.T) { // Check if pjdfstest is available _, err := exec.LookPath("pjdfstest") if err != nil { + // For comprehensive POSIX compliance testing, external tools should be mandatory + if os.Getenv("POSIX_REQUIRE_EXTERNAL_TOOLS") == "true" { + t.Fatalf("pjdfstest is required for comprehensive POSIX compliance testing but not found. Install from: https://github.com/pjd/pjdfstest") + } t.Skip("pjdfstest not found. Install from: https://github.com/pjd/pjdfstest") } @@ -119,6 +123,10 @@ func (s *ExternalPOSIXTestSuite) TestNFSTestPOSIX(t *testing.T) { // Check if nfstest_posix is available _, err := exec.LookPath("nfstest_posix") if err != nil { + // For comprehensive POSIX compliance testing, external tools should be mandatory + if os.Getenv("POSIX_REQUIRE_EXTERNAL_TOOLS") == "true" { + t.Fatalf("nfstest_posix is required for comprehensive POSIX compliance testing but not found. Install via: pip install nfstest") + } t.Skip("nfstest_posix not found. Install via: pip install nfstest") } |
