Tests now work on NetBSD.
This commit is contained in:
parent
dcdfdb442f
commit
594d98eddc
@ -9,17 +9,17 @@ tret=0
|
|||||||
ebegin "Testing yesno()"
|
ebegin "Testing yesno()"
|
||||||
for f in yes YES Yes true TRUE True 1 ; do
|
for f in yes YES Yes true TRUE True 1 ; do
|
||||||
if ! yesno ${f} ; then
|
if ! yesno ${f} ; then
|
||||||
((tret+=1))
|
tret=$((${tret} + 1))
|
||||||
echo "!${f}!"
|
echo "!${f}!"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for f in no NO No false FALSE False 0 ; do
|
for f in no NO No false FALSE False 0 ; do
|
||||||
if yesno ${f} ; then
|
if yesno ${f} ; then
|
||||||
((tret+=1))
|
tret=$(({$tret} + 1))
|
||||||
echo "!${f}!"
|
echo "!${f}!"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
eend ${tret}
|
eend ${tret}
|
||||||
((ret+=tret))
|
ret=$((${ret} + ${tret}))
|
||||||
|
|
||||||
exit ${ret}
|
exit ${ret}
|
||||||
|
@ -12,7 +12,9 @@ builddir=${builddir:-${srcdir}}
|
|||||||
export LD_LIBRARY_PATH=${top_builddir}/src/libeinfo:${top_builddir}/src/librc:${LD_LIBRARY_PATH}
|
export LD_LIBRARY_PATH=${top_builddir}/src/libeinfo:${top_builddir}/src/librc:${LD_LIBRARY_PATH}
|
||||||
export PATH=${top_builddir}/src/rc:${PATH}
|
export PATH=${top_builddir}/src/rc:${PATH}
|
||||||
|
|
||||||
${MAKE:-make} -s -C ${top_srcdir}/src/rc links
|
cd ${top_srcdir}/src/rc
|
||||||
|
${MAKE:-make} links >/dev/null
|
||||||
|
cd -
|
||||||
|
|
||||||
. ${top_srcdir}/sh/functions.sh
|
. ${top_srcdir}/sh/functions.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user