Running Deckard is broken on MacOS
Several scripts use readlink -f
for getting absolute path of certain files.
This doesn't always work because readlink
isn't POSIX, so it might not always work (there's no -f
on the MacOS version). Perhaps something as described in https://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself would be better?
$ make check-integration
tests/tests.mk:36: Warning: PREFIX does not point into source directory; testing version in /usr/local!
TESTS=sets/resolver DAEMON=/usr/local/sbin/kresd TEMPLATE=template/kresd.j2 DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_LIBRARY_PATH="..." tests/deckard/kresd_run.sh
readlink: illegal option -- f
usage: readlink [-n] [file ...]