X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_tpath.c;h=d199aadb6cc4d39db17349235988b2082855ad5b;hp=411ae8252a68082b009670bea538e0d8deb5aba1;hb=527dee673a04d80bd3002e4d7db7e754bb3b2eca;hpb=3107ce3a34993d2f784387f227a50343fff83bbc diff --git a/test/test_tpath.c b/test/test_tpath.c index 411ae82..d199aad 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-2010 Index Data + * Copyright (C) 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));