diff --git a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs index b99b248c39..ac4705983a 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs @@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests public void Init() { // SQLite doesn't work on power linux - if (File.Exists("/proc/ppc64")) + if (Directory.Exists("/proc/ppc64")) { Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs index fd157c67e6..31b37f3890 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs @@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests public void Init() { // SQLite doesn't work on power linux - if (File.Exists("/proc/ppc64")) + if (Directory.Exists("/proc/ppc64")) { Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs index c70be6d458..e5d3c28682 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs @@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests public void Init() { // SQLite doesn't work on power linux - if (File.Exists("/proc/ppc64")) + if (Directory.Exists("/proc/ppc64")) { Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs index da8f74f99f..0c6d26a313 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs @@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests public void Init() { // SQLite doesn't work on power linux - if (File.Exists("/proc/ppc64")) + if (Directory.Exists("/proc/ppc64")) { Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs index 06465e8382..d70e2280e5 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs @@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests public void Init() { // SQLite doesn't work on power linux - if (File.Exists("/proc/ppc64")) + if (Directory.Exists("/proc/ppc64")) { Assert.Ignore(); }