mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
Do not destroy systests.output if there are no test.output files
This commit is contained in:
@@ -35,9 +35,14 @@ while getopts "n" flag; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
cat */test.output > systests.output 2> /dev/null
|
if [ `ls */test.output 2> /dev/null | wc -l` -eq 0 ]; then
|
||||||
if [ $keepfile -eq 0 ]; then
|
echowarn "I:No 'test.output' files were found."
|
||||||
rm -f */test.output
|
echowarn "I:Printing summary from pre-existing 'systests.output'."
|
||||||
|
else
|
||||||
|
cat */test.output > systests.output
|
||||||
|
if [ $keepfile -eq 0 ]; then
|
||||||
|
rm -f */test.output
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
status=0
|
status=0
|
||||||
|
Reference in New Issue
Block a user