Blob Blame History Raw
--- tests/api/stubs.c
+++ tests/api/stubs.c
@@ -38,12 +38,18 @@ int pr_ctrls_unregister(module *m, const
   return 0;
 }
 
-char *pr_fs_decode_path(pool *p, const char *path) {
-  return (char *) path;
+char *dir_realpath(pool *p, const char *path) {
+  return NULL;
 }
 
-char *pr_fs_encode_path(pool *p, const char *path) {
-  return (char *) path;
+void *get_param_ptr(xaset_t *set, const char *name, int recurse) {
+  errno = ENOENT;
+  return NULL;
+}
+
+struct passwd *pr_auth_getpwnam(pool *p, const char *name) {
+  errno = ENOENT;
+  return NULL;
 }
 
 void pr_log_debug(int level, const char *fmt, ...) {
--- tests/Makefile.in
+++ tests/Makefile.in
@@ -31,7 +31,9 @@ TEST_API_DEPS=\
   $(top_srcdir)/src/stash.o \
   $(top_srcdir)/src/modules.o \
   $(top_srcdir)/src/cmd.o \
-  $(top_srcdir)/src/response.o
+  $(top_srcdir)/src/response.o \
+  $(top_srcdir)/src/fsio.o \
+  $(top_srcdir)/src/encode.o
 
 TEST_API_LIBS=-lcheck