Test: remove testdir also if skip test
This commit is contained in:
parent
71fc85af0b
commit
5e2643c382
26 changed files with 69 additions and 18 deletions
|
|
@ -12,12 +12,14 @@ s="$_" ; . ./lib.sh || if [ "$s" = $0 ]; then exit 0; else return 0; fi
|
|||
|
||||
# Only works with native
|
||||
if [ "${WITH_RESTCONF}" != "native" ]; then
|
||||
rm -rf $dir
|
||||
if [ "$s" = $0 ]; then exit 0; else return 0; fi # skip
|
||||
fi
|
||||
|
||||
# Cant make it work in sum.sh...
|
||||
if ! ${HAVE_HTTP1}; then
|
||||
echo "...skipped: must run with http/1"
|
||||
rm -rf $dir
|
||||
if [ "$s" = $0 ]; then exit 0; else return 0; fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue