<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/tests/common.c, branch jhrozek_sysdb_fqdn</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/'/>
<entry>
<title>TEST: Add common function are_values_in_array()</title>
<updated>2015-11-14T12:08:04+00:00</updated>
<author>
<name>Petr Cech</name>
<email>pcech@redhat.com</email>
</author>
<published>2015-11-10T11:04:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=6ae53d7b54ec2ece9fb51ed92c097f5ba8f9d849'/>
<id>6ae53d7b54ec2ece9fb51ed92c097f5ba8f9d849</id>
<content type='text'>
This patch adds function are_values_in_array() to common test code. And
there is tc_are_values_in_array macro defined which is usefull for
talloc allocated values and arrays.

Resolves:
https://fedorahosted.org/sssd/ticket/2730

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds function are_values_in_array() to common test code. And
there is tc_are_values_in_array macro defined which is usefull for
talloc allocated values and arrays.

Resolves:
https://fedorahosted.org/sssd/ticket/2730

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Move test_dom_suite_setup to different module</title>
<updated>2015-09-18T11:33:30+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-09-11T11:38:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=c106bfdf2ee6cfdfb76578b93523d054af2a3a99'/>
<id>c106bfdf2ee6cfdfb76578b93523d054af2a3a99</id>
<content type='text'>
The function test_dom_suite_setup is a simple function which creates
a directory which should be used for creating files. This function
needn't be linked with libsss_util.so as other functions in common_dom.c
This is a reason why it's better to move it to the file common.c
so linker can optimize out other unnecessary module objects from static
library libsss_test_common.a and test needn't be linked libsss_util.so.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function test_dom_suite_setup is a simple function which creates
a directory which should be used for creating files. This function
needn't be linked with libsss_util.so as other functions in common_dom.c
This is a reason why it's better to move it to the file common.c
so linker can optimize out other unnecessary module objects from static
library libsss_test_common.a and test needn't be linked libsss_util.so.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Default TEST_DIR to cwd, not empty string if not set explicitly</title>
<updated>2013-05-02T18:12:30+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2013-04-11T08:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=9a0255c508ede92423a1f8a02c6c38328482c55f'/>
<id>9a0255c508ede92423a1f8a02c6c38328482c55f</id>
<content type='text'>
If configure isn't being run with argument --with-test-dir, then variable
TEST_DIR will be defined, but its value will be empty (""). In this case
opendir will fail with uncatched error "Directory does not exist, or name is
an empty string". Finally function call dirfd will segfault because its
argument is NULL.

I changed default value of TEST_DIR (if --with-test-dir was not used).

Function tests_set_cwd does not ignore return value of chdir, because
TEST_DIR should not be the empty string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If configure isn't being run with argument --with-test-dir, then variable
TEST_DIR will be defined, but its value will be empty (""). In this case
opendir will fail with uncatched error "Directory does not exist, or name is
an empty string". Finally function call dirfd will segfault because its
argument is NULL.

I changed default value of TEST_DIR (if --with-test-dir was not used).

Function tests_set_cwd does not ignore return value of chdir, because
TEST_DIR should not be the empty string.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Print warning if LDB_MODULES_PATH is not set</title>
<updated>2013-03-20T12:04:10+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2013-03-18T11:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=dfe84158c49e44f2207b94d25e61ab4f3fe38366'/>
<id>dfe84158c49e44f2207b94d25e61ab4f3fe38366</id>
<content type='text'>
Print warning if sysdb-tests or sysdb-ssh test are run
individually and LDB_MODULES_PATH was not set.

https://fedorahosted.org/sssd/ticket/1820
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Print warning if sysdb-tests or sysdb-ssh test are run
individually and LDB_MODULES_PATH was not set.

https://fedorahosted.org/sssd/ticket/1820
</pre>
</div>
</content>
</entry>
<entry>
<title>TESTS: Print messages when LDAP options do not match</title>
<updated>2012-06-29T15:40:03+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2012-05-18T20:04:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=76ab5d8de8ad137a2ee076639b6ebeb70b1f70f8'/>
<id>76ab5d8de8ad137a2ee076639b6ebeb70b1f70f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add better tests for sdap_attr compability</title>
<updated>2012-03-28T19:07:05+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2012-03-28T16:02:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=4ed94554593e8a20fa361ea8d7a7f223dc6ee4e8'/>
<id>4ed94554593e8a20fa361ea8d7a7f223dc6ee4e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add better dp_option tests</title>
<updated>2012-03-28T19:07:05+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2012-03-28T15:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=4790f7b3cff3800df92b232aec1d779db52c72b1'/>
<id>4790f7b3cff3800df92b232aec1d779db52c72b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix build when check-devel is not installed</title>
<updated>2010-03-12T14:00:28+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2010-03-10T15:47:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=b1798ddcfb952efb7cc8bacaf51b3486a7fec121'/>
<id>b1798ddcfb952efb7cc8bacaf51b3486a7fec121</id>
<content type='text'>
tests/common.c is now required by all tests (check-based and not),
so we need to properly ifdef it
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests/common.c is now required by all tests (check-based and not),
so we need to properly ifdef it
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --with-test-dir option to configure</title>
<updated>2010-03-04T17:41:30+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2010-02-26T14:04:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=9fb59763bce293c2490e0b9f8e97bb1f74ba0910'/>
<id>9fb59763bce293c2490e0b9f8e97bb1f74ba0910</id>
<content type='text'>
All 'make check' tests will chdir() into this directory before
running the suite. This provides the option of having temporary
files generated in a tmpfs or ramdisk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All 'make check' tests will chdir() into this directory before
running the suite. This provides the option of having temporary
files generated in a tmpfs or ramdisk
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename server/ directory to src/</title>
<updated>2010-02-18T18:48:45+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2010-02-18T12:49:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=1c48b5a62f73234ed26bb20f0ab345ab61cda0ab'/>
<id>1c48b5a62f73234ed26bb20f0ab345ab61cda0ab</id>
<content type='text'>
Also update BUILD.txt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also update BUILD.txt
</pre>
</div>
</content>
</entry>
</feed>
