From 4dc25adcbc00332b05d7655212798e2216125246 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Fri, 21 Apr 2023 17:13:01 +0100 Subject: [PATCH] Fix Linux test --- Tests/TSCBasicTests/FileSystemTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/TSCBasicTests/FileSystemTests.swift b/Tests/TSCBasicTests/FileSystemTests.swift index 0a53e693..a4d45cc6 100644 --- a/Tests/TSCBasicTests/FileSystemTests.swift +++ b/Tests/TSCBasicTests/FileSystemTests.swift @@ -860,8 +860,8 @@ class FileSystemTests: XCTestCase { try _testFileSystemFileLock(fileSystem: fs, fileA: fileA, fileB: fileB, lockFile: lockFile) } -#if canImport(Darwin) || canImport(Glibc) - func testQuarantineAttribute() throws { +#if canImport(Darwin) + func testHasAttribute() throws { try withTemporaryDirectory(removeTreeOnDeinit: true) { tempDir in let filePath = tempDir.appending(component: "quarantined") let attributeName = "com.apple.quarantine"