From 75446a50e366d25d5da9542737586802bff67bab Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 18 Apr 2003 23:41:17 +0000 Subject: [PATCH] ICU-2707 Allow NormalizationTest-3.2.0.txt to be found on Unix X-SVN-Rev: 11592 --- icu4c/source/test/intltest/normconf.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/icu4c/source/test/intltest/normconf.cpp b/icu4c/source/test/intltest/normconf.cpp index 985fe0d4f3b..f553d039c41 100644 --- a/icu4c/source/test/intltest/normconf.cpp +++ b/icu4c/source/test/intltest/normconf.cpp @@ -128,6 +128,13 @@ NormalizerConformanceTest::openNormalizationTestFile(const char *filename) { if(input!=NULL) { return input; } + + strcpy(path, U_TOPSRCDIR U_FILE_SEP_STRING "test" U_FILE_SEP_STRING "testdata" U_FILE_SEP_STRING); + strcat(path, filename); + input=T_FileStream_open(path, "rb"); + if(input!=NULL) { + return input; + } #endif errln("Failed to open %s", filename);