4487. [test] Make system tests work on Windows. [RT #42931]

This commit is contained in:
Witold Krecicki
2016-10-19 17:18:42 +02:00
parent 0b15ee0705
commit 358dfaee18
273 changed files with 9139 additions and 559 deletions

View File

@@ -6,9 +6,12 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
../../../tools/genrandom 400 random.data
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
if $KEYGEN -q -a RSAMD5 -b 512 -n zone -r random.data foo > /dev/null 2>&1
$GENRANDOM 400 $RANDFILE
if $KEYGEN -q -a RSAMD5 -b 512 -n zone -r $RANDFILE foo > /dev/null 2>&1
then
rm -f Kfoo*
else