Commit ec2ecffe authored by Mark Andrews's avatar Mark Andrews

add check-ans-prereq

parent 6537d0a1
#!/bin/sh
#
# Copyright (C) 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/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
status=0
for testscript in bin/tests/system/*/tests.sh; do
testdir="$(dirname "${testscript}")"
prereq="${testdir}/prereq.sh"
if [ -e "${prereq}" ] || [ -e "${prereq}.in" ]; then
continue
fi
if find "${testdir}" -type d -name "ans*" | grep -Eq "/ans[0-9]+$"; then
echo "missing ${prereq}"
status=1
fi
done
exit ${status}
......@@ -2585,6 +2585,7 @@
./util/COPYRIGHT.TOP X 2018,2019
./util/bindkeys.pl PERL 2009,2010,2011,2012,2014,2016,2017,2018,2019
./util/branchsync.sh SH 2013,2016,2018,2019
./util/check-ans-prereq.sh SH 2019
./util/check-categories.sh SH 2015,2016,2017,2018,2019
./util/check-changes PERL 2002,2004,2007,2012,2016,2018,2019
./util/check-cocci X 2018,2019
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment