aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorOla Bini <ola@olabini.se>2015-09-15 17:27:51 +0200
committerOla Bini <ola@olabini.se>2016-01-13 10:31:13 -0500
commit5edd431d923828bb7e3e021fe5e31a3cffdbb055 (patch)
tree69c9c2d9c58524d4ef8e7a37734f07e2cec370bf /src/common/compat.c
parentd062baac86c824f8a3ddfead3a8c88b3f87068c1 (diff)
downloadtor-5edd431d923828bb7e3e021fe5e31a3cffdbb055.tar.gz
tor-5edd431d923828bb7e3e021fe5e31a3cffdbb055.zip
Add tests for options_act
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 0b8fcb7e64..c1d4f89621 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -2691,8 +2691,7 @@ static int uname_result_is_set = 0;
/** Return a pointer to a description of our platform.
*/
-const char *
-get_uname(void)
+MOCK_IMPL(const char *, get_uname, (void))
{
#ifdef HAVE_UNAME
struct utsname u;