From b0e6d0fc01efc9762e9963b2b3ff5344063451e7 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 6 Aug 2009 14:01:36 -0400 Subject: [PATCH] skip sqlite tests on z linux, as sqlite doesn't work right on the platform --- OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs | 6 +++--- OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs | 4 ++-- OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs | 4 ++-- OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs | 6 +++--- OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs index f0305313ce..0c2f5dfefc 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs @@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - // SQLite doesn't work on power linux - if (Directory.Exists("/proc/ppc64")) + // SQLite doesn't work on power or z linux + if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd")) { Assert.Ignore(); } @@ -61,4 +61,4 @@ namespace OpenSim.Data.SQLite.Tests File.Delete(file); } } -} \ No newline at end of file +} diff --git a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs index 1249e7641f..30f66414a9 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs @@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - // SQLite doesn't work on power linux - if (Directory.Exists("/proc/ppc64")) + // SQLite doesn't work on power or z linux + if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd")) { Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs index 17fa86c4cb..98458a30ec 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs @@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - // SQLite doesn't work on power linux - if (Directory.Exists("/proc/ppc64")) + // SQLite doesn't work on power or z linux + if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd")) { Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs index 7a75808e28..abb97cfa4f 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs @@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - // SQLite doesn't work on power linux - if (Directory.Exists("/proc/ppc64")) + // SQLite doesn't work on power or z linux + if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd")) { Assert.Ignore(); } @@ -61,4 +61,4 @@ namespace OpenSim.Data.SQLite.Tests File.Delete(file); } } -} \ No newline at end of file +} diff --git a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs index 52dac39b6d..c9953c5673 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs @@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - // SQLite doesn't work on power linux - if (Directory.Exists("/proc/ppc64")) + // SQLite doesn't work on power or z linux + if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd")) { Assert.Ignore(); } @@ -61,4 +61,4 @@ namespace OpenSim.Data.SQLite.Tests File.Delete(file); } } -} \ No newline at end of file +}