Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / common / test_global_doublefree.cc
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3 /*
4  * Ceph - scalable distributed file system
5  *
6  * Copyright (C) 2016 Red Hat, Inc.
7  *
8  * This is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License version 2.1, as published by the Free Software
11  * Foundation.  See file COPYING.
12  *
13  */
14
15
16 /*
17  * This test is linked against librados and libcephfs to try and detect issues
18  * with global, static, non-POD variables as seen in the following trackers.
19  * http://tracker.ceph.com/issues/16504
20  * http://tracker.ceph.com/issues/16686
21  * In those trackers such variables caused segfaults with glibc reporting
22  * "double free or corruption".
23  *
24  * Don't be fooled by its emptiness. It does serve a purpose :)
25  */
26
27 int main(int, char**)
28 {
29     return 0;
30 }