* New backend startup and upgrade support, see [doc/startup.md] for details
* Datastore files contain RFC7895 module-state information
This commit is contained in:
parent
28bd698968
commit
560110b4e8
44 changed files with 1595 additions and 631 deletions
11
test/lib.sh
11
test/lib.sh
|
|
@ -58,6 +58,10 @@ testname=
|
|||
# If set to 0, override starting of clixon_backend in test (you bring your own)
|
||||
: ${BE:=1}
|
||||
|
||||
# If BE is set, some tests have a user timeout to show which params to set
|
||||
# for starting a backend
|
||||
: ${BETIMEOUT:=10}
|
||||
|
||||
# If set, enable debugging (of backend)
|
||||
: ${DBG:=0}
|
||||
|
||||
|
|
@ -94,7 +98,12 @@ dir=/var/tmp/$0
|
|||
if [ ! -d $dir ]; then
|
||||
mkdir $dir
|
||||
fi
|
||||
rm -rf $dir/*
|
||||
# If we bring our own backend BE=0 (it is already started),the backend may
|
||||
# have created some files (eg unix socket) in $dir and therefore cannot
|
||||
# be deleted
|
||||
if [ $BE -ne 0 ]; then
|
||||
rm -rf $dir/*
|
||||
fi
|
||||
|
||||
# error and exit,
|
||||
# arg1: expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue