Fix problem with HTTP decoding
[yaz-moved-to-github.git] / test / test_tpath.c
index 411ae82..01cade3 100644 (file)
@@ -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 <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));