mirror of https://github.com/OpenRC/openrc.git
parent
6e6902c28b
commit
52d4e56674
3
Makefile
3
Makefile
|
@ -33,8 +33,9 @@ ifeq (${MKZSHCOMP},yes)
|
|||
SUBDIR+= zsh-completion
|
||||
endif
|
||||
|
||||
# We need to ensure that runlevels is done last
|
||||
# We need to ensure that runlevels is done last other than test
|
||||
SUBDIR+= runlevels
|
||||
SUBDIR+= test
|
||||
|
||||
INSTALLAFTER= _installafter
|
||||
|
||||
|
|
|
@ -53,7 +53,6 @@ realinstall: ${BIN} ${CONF} ${INC}
|
|||
install: all realinstall ${INSTALLAFTER}
|
||||
|
||||
check test::
|
||||
@if test -e runtests.sh ; then ./runtests.sh || exit $$? ; fi
|
||||
|
||||
# A lot of scripts don't have anything to clean
|
||||
# Also, some rm implentation require a file argument regardless of error
|
||||
|
|
|
@ -31,4 +31,3 @@ _installafter:
|
|||
ln -snf ${LIBEXECDIR}/sh/functions.sh ${DESTDIR}/${INITDIR} || exit $$?
|
||||
|
||||
check test::
|
||||
./runtests.sh
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright (c) 2007-2008 Roy Marples <roy@marples.name>
|
||||
# Released under the 2-clause BSD license.
|
||||
|
||||
SUBDIR= test libeinfo librc rc
|
||||
SUBDIR= libeinfo librc rc
|
||||
|
||||
MK= ../mk
|
||||
include ${MK}/subdir.mk
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
top_srcdir=${top_srcdir:-../..}
|
||||
top_srcdir=${top_srcdir:-..}
|
||||
. ${top_srcdir}/test/setup_env.sh
|
||||
|
||||
libeinfo_srcdir="${srcdir}/../libeinfo"
|
|
@ -15,7 +15,6 @@
|
|||
ret=0
|
||||
|
||||
tret=0
|
||||
ebegin "Testing yesno()"
|
||||
for f in yes YES Yes true TRUE True 1 ; do
|
||||
if ! yesno $f; then
|
||||
: $(( tret += 1 ))
|
||||
|
@ -28,7 +27,7 @@ for f in no NO No false FALSE False 0 ; do
|
|||
echo "!$f!"
|
||||
fi
|
||||
done
|
||||
eend $tret
|
||||
: $(( ret += $tret ))
|
||||
|
||||
eend $ret
|
||||
exit $ret
|
Loading…
Reference in New Issue