Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F32064322
run_test_dns_zones.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1002 B
Referenced Files
None
Subscribers
None
run_test_dns_zones.sh
View Options
#!/bin/sh
# -------------------------------------------------------------
# Run roles/python/dns/test_dns_zones.py if kzonecheck exists
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Description: Avoid to maintain both BSD and GNU Makefile
# for conditional logic .ifdef vs .if defined
# License: BSD-2-Clause
# -------------------------------------------------------------
KZONECHECK
=
kzonecheck
# -------------------------------------------------------------
# Program check
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if
!
command
-v
$KZONECHECK
> /dev/null
;
then
echo
"[WARNING] [SKIP] Skip testing roles/dns: kzonecheck missing"
>
&
2
exit
0
fi
# -------------------------------------------------------------
# Run test
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PYTHONPATH
=
"
$(
pwd
)
"
export
PYTHONPATH
python roles/python/dns/test_dns_zones.py
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Jun 8, 09:01 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3792552
Default Alt Text
run_test_dns_zones.sh (1002 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment