Test: remove testdir also if skip test

This commit is contained in:
Olof hagsand 2022-09-03 13:07:26 +02:00
parent 71fc85af0b
commit 5e2643c382
26 changed files with 69 additions and 18 deletions

View file

@ -14,6 +14,7 @@ new "openconfig"
if [ ! -d "$OPENCONFIG" ]; then
# err "Hmm Openconfig dir does not seem to exist, try git clone https://github.com/openconfig/public?"
echo "...skipped: OPENCONFIG not set"
rm -rf $dir
if [ "$s" = $0 ]; then exit 0; else return 0; fi
fi