X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_tpath.c;h=50801b1f55cad531690316d1241f87f10c845d5a;hp=90099491a76e643e3f61815035cb2561a55c68b8;hb=58b73e42cc56014e9a1f57474884c6bd4e97ccc1;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/test/test_tpath.c b/test/test_tpath.c index 9009949..50801b1 100644 --- a/test/test_tpath.c +++ b/test/test_tpath.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ #include @@ -23,7 +23,7 @@ static void tst_tpath(void) YAZ_CHECK(!yaz_filepath_resolve("does_not_exist", ".", 0, fullpath)); YAZ_CHECK(yaz_filepath_resolve("test_tpath", 0, 0, fullpath)); - YAZ_CHECK(!yaz_filepath_resolve("test_tpath", "", 0, fullpath)); + YAZ_CHECK(yaz_filepath_resolve("test_tpath", "", 0, fullpath)); YAZ_CHECK(yaz_filepath_resolve("test_tpath", ".", 0, fullpath)); YAZ_CHECK(!yaz_filepath_resolve("test_tpath", "unknown_dir", 0, fullpath));