aboutsummaryrefslogtreecommitdiff
path: root/tests/chroot_wrapper.c
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2017-11-23 12:52:08 +0100
committerAndreas Schneider <asn@cryptomilk.org>2017-12-15 12:00:49 +0100
commit094aa5eb024582d23b8e0cd5ebfea3cb29ed188d (patch)
tree2ade576ed68a90735e33637f26c163f65e26b19e /tests/chroot_wrapper.c
parent5d3ab421e1db18d20d5aaa702fbd089552447628 (diff)
downloadlibssh-094aa5eb024582d23b8e0cd5ebfea3cb29ed188d.tar.gz
libssh-094aa5eb024582d23b8e0cd5ebfea3cb29ed188d.tar.xz
libssh-094aa5eb024582d23b8e0cd5ebfea3cb29ed188d.zip
tests: Temporarily build chroot_wrapper
Diffstat (limited to 'tests/chroot_wrapper.c')
-rw-r--r--tests/chroot_wrapper.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/chroot_wrapper.c b/tests/chroot_wrapper.c
new file mode 100644
index 00000000..3545f397
--- /dev/null
+++ b/tests/chroot_wrapper.c
@@ -0,0 +1,8 @@
+/* silent gcc */
+int chroot(const char *);
+
+int chroot(const char *path)
+{
+ (void)path;
+ return 0;
+}