git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2172
94cd875c-1c1d-0410-91d2-
eb244daf1a30
return true;
}
+#ifndef ENSC_TESTSUITE
static bool
addStatHash(hashFunctionContext *h_ctx, struct stat const * const st)
{
return hashFunctionContextUpdate(h_ctx, (void *)&tmp, sizeof tmp)!=-1;
}
-
+#else
+static bool
+addStatHash(hashFunctionContext *h_ctx, struct stat const * const st)
+{
+ return true;
+}
+#endif
+
static bool
calculateHashFromFD(int fd, HashPath d_path, struct stat const * const st)
{