summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-12-11 16:12:20 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-12-15 08:33:55 -0500
commit028af25245a7d406bfa6ca07d9047df6386800b4 (patch)
tree74cc86a03e3708b1b7a31764466247dcd7cd5aba /common
parentbf2aa749ed5b9e1856918460606fce9ac97db580 (diff)
downloadsssd-028af25245a7d406bfa6ca07d9047df6386800b4.tar.gz
sssd-028af25245a7d406bfa6ca07d9047df6386800b4.tar.bz2
sssd-028af25245a7d406bfa6ca07d9047df6386800b4.zip
Add elapi_ut.conf to the list of dist files
Some newlines are added, too.
Diffstat (limited to 'common')
-rw-r--r--common/elapi/elapi_test/Makefile.am3
-rw-r--r--common/elapi/elapi_test/elapi_ut.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/common/elapi/elapi_test/Makefile.am b/common/elapi/elapi_test/Makefile.am
index d9f1bb0b..8a24b9f0 100644
--- a/common/elapi/elapi_test/Makefile.am
+++ b/common/elapi/elapi_test/Makefile.am
@@ -18,7 +18,8 @@ AM_CPPFLAGS = -I$(topdir) -I$(topdir)/ini -I$(topdir)/trace -I$(topdir)/collecti
ACLOCAL_AMFLAGS = -I m4
-dist_noinst_DATA = m4
+dist_noinst_DATA = m4 \
+ elapi_ut.conf
# Build library
noinst_LTLIBRARIES = libelapi_test.la
diff --git a/common/elapi/elapi_test/elapi_ut.c b/common/elapi/elapi_test/elapi_ut.c
index ba493bbd..49fe1a26 100644
--- a/common/elapi/elapi_test/elapi_ut.c
+++ b/common/elapi/elapi_test/elapi_ut.c
@@ -40,7 +40,7 @@ int elapi_init_test(void)
error = elapi_init(APPNAME, "./"ELAPI_CONFIG_FILE);
if (error) {
- printf("elapi_init failed: %d", error);
+ printf("elapi_init failed: %d\n", error);
return error;
}
@@ -59,7 +59,7 @@ int elapi_get_default_tplt_test(void)
error = elapi_get_default_tplt(&tpl);
if (error) {
- printf("elapi_get_default_tplt failed: %d", error);
+ printf("elapi_get_default_tplt failed: %d\n", error);
return error;
}