summaryrefslogtreecommitdiff
path: root/indra/llvfs
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-11-02 16:16:48 -0400
committerOz Linden <oz@lindenlab.com>2010-11-02 16:16:48 -0400
commit0ecb46bf4660b1bab8fa31e4dadfd2e31fa6c7a9 (patch)
tree63dfbe88ad9ad7ab2b17e944c43f0bd59352e1e6 /indra/llvfs
parent2ab60cd988eba05ad6a3cfadb89c2cc5018f5885 (diff)
STORM-477 fix for test code - intermediate checkin to trigger Windows test on TeamCity
--HG-- branch : storm-102
Diffstat (limited to 'indra/llvfs')
-rw-r--r--indra/llvfs/tests/lldir_test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/llvfs/tests/lldir_test.cpp b/indra/llvfs/tests/lldir_test.cpp
index d76823b409..30976e7661 100644
--- a/indra/llvfs/tests/lldir_test.cpp
+++ b/indra/llvfs/tests/lldir_test.cpp
@@ -289,7 +289,7 @@ namespace tut
static const char* DirScanFilename[5] = { "file1.abc", "file2.abc", "file1.xyz", "file2.xyz", "file1.mno" };
- void scanTest(const std::string directory, const std::string pattern, bool correctResult[5])
+ void scanTest(const std::string& directory, const std::string& pattern, bool correctResult[5])
{
// Scan directory and see if any file1.* files are found
@@ -314,7 +314,7 @@ namespace tut
}
else // check is 5 - should not happen
{
- ensure( "found unknown file '"+(std::string)DirScanFilename[check]+"'", false);
+ fail( "found unknown file '"+scanResult+"'");
}
}
for (int i=0; i<5; i++)
@@ -380,7 +380,6 @@ namespace tut
// Scan dir2 and see if any file?.??c files are found - THESE FAIL AND SO ARE COMMENTED OUT FOR NOW
// bool expected8[5] = { true, true, false, false, false };
// scanTest(dir2, "file?.??c", expected8);
- // bool expected8[5] = { true, true, false, false, false };
// scanTest(dir2, "*.??c", expected8);
// Scan dir1 and see if any *.?n? files are found