X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_tpath.c;h=01cade39969b328826b3a969b55b0131fbc15731;hp=411ae8252a68082b009670bea538e0d8deb5aba1;hb=6e0314cce5d9c3d346d4d968a7ea07f92d8761b1;hpb=3107ce3a34993d2f784387f227a50343fff83bbc diff --git a/test/test_tpath.c b/test/test_tpath.c index 411ae82..01cade3 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) 1995-2013 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));