Skip to content

Commit

Permalink
Fix Linux test
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDesiatov committed May 10, 2023
1 parent 330c53e commit 4dc25ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/TSCBasicTests/FileSystemTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4dc25ad

Please sign in to comment.