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.
0.6.5-rc1
Sean Dague 2009-04-24 12:40:42 +00:00
parent fefcb8432f
commit de1aef9499
5 changed files with 5 additions and 5 deletions

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}