From fefcb8432f37132ceb30c9e1c1733830f1704d38 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 24 Apr 2009 12:06:24 +0000 Subject: change power linux detection method, the previous method only worked with interactive logins, not under panda. --- OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs') 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 [TestFixtureSetUp] public void Init() { - if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + // SQLite doesn't work on power linux + if (File.Exists("/proc/ppc64")) { - System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); Assert.Ignore(); } -- cgit v1.1