tests.sh revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
#
# Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# 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/.
status=0
n=1
file=$1
echo "FAIL"
return
}
done
}
echo "I:checking for DNSSEC key coverage issues"
ret=0
ret=0
echo "I:$dir ($n)"
# run keymgr to update keys
# check that return code matches expectations
found=$?
ret=1
fi
if [ "$found" = "FAIL" ]; then
echo "no match on '$kmatch'"
ret=1
fi
# now check coverage
# check that return code matches expectations
found=$?
ret=1
fi
# check for correct number of errors
ret=1
fi
# check for correct number of warnings
ret=1
fi
# check for correct number of OKs
ret=1
fi
if [ "$found" = "FAIL" ]; then
echo "no match on '$cmatch'"
ret=1
fi
n=`expr $n + 1`
done
echo "I:checking policy.conf parser ($n)"
ret=0
n=`expr $n + 1`
echo "I:exit status: $status"