From: Ivana Hutarova Varekova Date: Fri, 18 May 2012 16:18:36 +0000 (+0200) Subject: testsuite: runlibcgrouptest have to be configurable X-Git-Tag: v0.41~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e7b20b6c5d48c725687b0447cf0f32e4cce5183;p=thirdparty%2Flibcgroup.git testsuite: runlibcgrouptest have to be configurable runlibcgrouptest have to set the path to config.h properly thus it have to be configurable CHANGELOG v1: * remove obsolete TODO comment * add runlibcgrouptest.sh to configure.in Signed-off-by: Ivana Hutarova Varekova Acked-By: Jan Safranek --- diff --git a/configure.in b/configure.in index 1153a789..c828e124 100644 --- a/configure.in +++ b/configure.in @@ -211,6 +211,7 @@ AC_CONFIG_FILES([Makefile tests/tools/cgconfigparser/Makefile tests/tools/cgclassify/Makefile tests/tools/multimount/Makefile + tests/runlibcgrouptest.sh src/Makefile src/daemon/Makefile src/tools/Makefile diff --git a/tests/runlibcgrouptest.sh b/tests/runlibcgrouptest.sh.in similarity index 99% rename from tests/runlibcgrouptest.sh rename to tests/runlibcgrouptest.sh.in index 12b92536..119addd2 100755 --- a/tests/runlibcgrouptest.sh +++ b/tests/runlibcgrouptest.sh.in @@ -16,7 +16,7 @@ # # TODO path to config.h have to be set properly -OPAQUE_HIERARCHY=`grep "OPAQUE_HIERARCHY" ../config.h |\ +OPAQUE_HIERARCHY=`grep "OPAQUE_HIERARCHY" @abs_top_srcdir@/config.h |\ cut -d" " -f3 | sed 's|\"||g'` DEBUG=false; # for debug messages FS_MOUNTED=0; # 0 for not mounted, 1 for mounted, 2 for multimounted