Test case for YAZ-822
[yaz-moved-to-github.git] / test / test_tpath.c
index 9009949..d199aad 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 #include <yaz/tpath.h>
@@ -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));