2 * Copyright (C) 1995-2007, Index Data ApS
3 * See the file LICENSE for details.
5 * $Id: tst_filepath.c,v 1.2 2007/01/03 08:42:16 adam Exp $
17 #include <yaz/tpath.h>
23 YAZ_CHECK(yaz_filepath_resolve("tst_filepath", ".", 0, fullpath));
24 YAZ_CHECK(strcmp(fullpath, "./tst_filepath") == 0);
25 YAZ_CHECK(!yaz_filepath_resolve("tst_filepath1", ".", 0, fullpath));
26 YAZ_CHECK(!yaz_filepath_resolve("tst_filepath", "bogus", 0, fullpath));
27 YAZ_CHECK(yaz_filepath_resolve("tst_filepath", "bogus:.", 0, fullpath));
30 int main (int argc, char **argv)
32 YAZ_CHECK_INIT(argc, argv);
39 * indent-tabs-mode: nil
41 * vim: shiftwidth=4 tabstop=8 expandtab