# part of Comfignat's testsuite # Copyright 2014 B. Persson, Bjorn@Rombobeorn.se # # This material is provided as is, with absolutely no warranty expressed # or implied. Any use is at your own risk. # # Permission is hereby granted to use or copy this testsuite # for any purpose, provided the above notices are retained on all copies. # Permission to modify the code and to distribute modified code is granted, # provided the above notices are retained, and a notice that the code was # modified is included with the above copyright notice. expect_configuration always common_setup make configure bindir='${prefix}/special' make clean expected='bindir = ${prefix}/special' conf=$(make show_configuration --no-print-directory) if [ "${conf}" != "${expected}" ] ; then echo "Expected configuration:" >&2 echo "${expected}" >&2 echo "Configuration found:" >&2 echo "${conf}" >&2 exit 1 fi