aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/Tests
diff options
context:
space:
mode:
authorSean Dague2009-04-24 12:40:42 +0000
committerSean Dague2009-04-24 12:40:42 +0000
commitde1aef949918af174315cb11835c4c93bed7711c (patch)
tree4fc1068fb813392ef1b3f68a5982ae8db6592eec /OpenSim/Data/SQLite/Tests
parentchange power linux detection method, the previous method only worked (diff)
downloadopensim-SC-de1aef949918af174315cb11835c4c93bed7711c.zip
opensim-SC-de1aef949918af174315cb11835c4c93bed7711c.tar.gz
opensim-SC-de1aef949918af174315cb11835c4c93bed7711c.tar.bz2
opensim-SC-de1aef949918af174315cb11835c4c93bed7711c.tar.xz
silly C# not letting me use a File.Exists test for a directory. Don't
you know a directory is just a special kind of file on Linux.
Diffstat (limited to 'OpenSim/Data/SQLite/Tests')
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs2
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs2
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs2
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs2
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs2
5 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs
index b99b248..ac47059 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests
42 public void Init() 42 public void Init()
43 { 43 {
44 // SQLite doesn't work on power linux 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64")) 45 if (Directory.Exists("/proc/ppc64"))
46 { 46 {
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs
index fd157c6..31b37f3 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests
42 public void Init() 42 public void Init()
43 { 43 {
44 // SQLite doesn't work on power linux 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64")) 45 if (Directory.Exists("/proc/ppc64"))
46 { 46 {
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs
index c70be6d..e5d3c28 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests
42 public void Init() 42 public void Init()
43 { 43 {
44 // SQLite doesn't work on power linux 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64")) 45 if (Directory.Exists("/proc/ppc64"))
46 { 46 {
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs
index da8f74f..0c6d26a 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests
42 public void Init() 42 public void Init()
43 { 43 {
44 // SQLite doesn't work on power linux 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64")) 45 if (Directory.Exists("/proc/ppc64"))
46 { 46 {
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs
index 06465e8..d70e228 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Data.SQLite.Tests
42 public void Init() 42 public void Init()
43 { 43 {
44 // SQLite doesn't work on power linux 44 // SQLite doesn't work on power linux
45 if (File.Exists("/proc/ppc64")) 45 if (Directory.Exists("/proc/ppc64"))
46 { 46 {
47 Assert.Ignore(); 47 Assert.Ignore();
48 } 48 }