mirror of
https://github.com/bgp/bgpq4.git
synced 2024-05-11 05:55:05 +00:00
Skip online test if no or empty /etc/resolv.conf (#113)
Downstream build systems, e.g. at Linux distributions like Fedora, might be (sealed) offline (chroot) environments.
This commit is contained in:
@ -36,4 +36,8 @@ maintainer-clean-local:
|
||||
check:
|
||||
./bgpq4 -v
|
||||
@echo
|
||||
./bgpq4 -6 AS15562:AS-SNIJDERS | grep 2001:67c:208c::
|
||||
-@if [ -s /etc/resolv.conf ]; then \
|
||||
./bgpq4 -6 AS15562:AS-SNIJDERS | grep 2001:67c:208c::; \
|
||||
else \
|
||||
echo "No or empty /etc/resolv.conf, skipping online test"; \
|
||||
fi
|
||||
|
Reference in New Issue
Block a user