aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2009-04-24 12:06:24 +0000
committerSean Dague2009-04-24 12:06:24 +0000
commitfefcb8432f37132ceb30c9e1c1733830f1704d38 (patch)
treecac363aa04e886994cea78eb5216c0856e0212b5
parentFrom: Alan Webb <alan_webb@us.ibm.com> (diff)
downloadopensim-SC-fefcb8432f37132ceb30c9e1c1733830f1704d38.zip
opensim-SC-fefcb8432f37132ceb30c9e1c1733830f1704d38.tar.gz
opensim-SC-fefcb8432f37132ceb30c9e1c1733830f1704d38.tar.bz2
opensim-SC-fefcb8432f37132ceb30c9e1c1733830f1704d38.tar.xz
change power linux detection method, the previous method only worked
with interactive logins, not under panda.
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs4
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs4
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs4
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs4
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs4
5 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs
index 7221811..b99b248 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs
@@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests
41 [TestFixtureSetUp] 41 [TestFixtureSetUp]
42 public void Init() 42 public void Init()
43 { 43 {
44 if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64"))
45 { 46 {
46 System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }
49 49
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs
index 9ed9897..fd157c6 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs
@@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests
41 [TestFixtureSetUp] 41 [TestFixtureSetUp]
42 public void Init() 42 public void Init()
43 { 43 {
44 if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64"))
45 { 46 {
46 System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }
49 49
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs
index a5b2e06..c70be6d 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs
@@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests
41 [TestFixtureSetUp] 41 [TestFixtureSetUp]
42 public void Init() 42 public void Init()
43 { 43 {
44 if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64"))
45 { 46 {
46 System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }
49 49
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs
index be17a38..da8f74f 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs
@@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests
41 [TestFixtureSetUp] 41 [TestFixtureSetUp]
42 public void Init() 42 public void Init()
43 { 43 {
44 if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64"))
45 { 46 {
46 System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }
49 49
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs
index 1c0ba71..06465e8 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs
@@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests
41 [TestFixtureSetUp] 41 [TestFixtureSetUp]
42 public void Init() 42 public void Init()
43 { 43 {
44 if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64"))
45 { 46 {
46 System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }
49 49