Forwarded from help list.
On Tuesday, January 31, 2017 at 4:34:41 AM UTC-6, Igor Goncharenko wrote:
Hi!
I already have installed cfengine 3.10 (and fakeroot) rpms and I try to run acceptance tests from tarball and see an error:
$ tar xvf cfengine-3.10.0.tar.gz
$ cd cfengine-3.10.0/tests/acceptance
$ ./testall --agent=/var/cfengine/bin/cf-agent --cfpromises=/var/cfengine/bin/cf-promises --cfkey=/var/cfengine/bin/cf-key
ERROR: can't find cf-agent or other binary; Are you sure you're running this from OBJDIR or {core,masterfiles,enterprise}_OBJDIR/tests/acceptance ?
$AGENT = /var/cfengine/bin/cf-agent
$CF_PROMISES = /var/cfengine/bin/cf-promises
$CF_SERVERD =
$CF_KEY = /var/cfengine/bin/cf-key
$CF_RUNAGENT =
$RPMVERCMP =
$ ls -la /var/cfengine/bin
total 744
drwxr-xr-x. 2 root root 4096 Jan 31 09:34 .
drwxr-xr-x. 31 root root 4096 Dec 29 10:43 ..
-rwxr-xr-x. 1 root root 408328 Dec 29 10:43 cf-agent
-rwxr-xr-x. 1 root root 41416 Dec 29 10:43 cf-execd
-rwxr-xr-x. 1 root root 24536 Dec 29 10:43 cf-key
-rwxr-xr-x. 1 root root 62248 Dec 29 10:43 cf-monitord
-rwxr-xr-x. 1 root root 24232 Dec 29 10:43 cf-promises
-rwxr-xr-x. 1 root root 24240 Dec 29 10:43 cf-runagent
-rwxr-xr-x. 1 root root 125984 Dec 29 10:43 cf-serverd
-rwxr-xr-x. 1 root root 20224 Dec 29 10:43 cf-upgrade
-rwxr-xr-x. 1 root root 11336 Dec 29 10:43 rpmvercmp
Should i build cfengine from sources before run acceptance tests? Or what i missed?
---
Igor