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
|
|
@ -10,12 +10,14 @@ APPNAME=example
|
|||
|
||||
if [ -z "$(type expect 2> /dev/null)" ]; then
|
||||
echo "...skipped: Expect not installed"
|
||||
rm -rf $dir
|
||||
if [ "$s" = $0 ]; then exit 0; else return 0; fi
|
||||
fi
|
||||
|
||||
# Skip test if valgrind
|
||||
if [ $valgrindtest -ne 0 ]; then
|
||||
echo "...skipped for valgrind "
|
||||
rm -rf $dir
|
||||
return 0 # skip
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue