Account for changes to struct dns_rbtnode
Commit 540a5b5a2c modified the definition
of struct dns_rbtnode. Doing that changes the layout of map-format zone
files. Bump MAPAPI and update the offsets used in map-format zone file
checks in the "masterformat" system test, as these changes were
inadvertently omitted from the aforementioned change.
This commit is contained in:
@@ -293,7 +293,7 @@ status=$((status + ret))
|
||||
echo_i "checking corrupt map files fail to load (bad node header) ($n)"
|
||||
ret=0
|
||||
cp map.5 badmap
|
||||
stomp badmap 3706 2 99
|
||||
stomp badmap 3578 2 99
|
||||
$CHECKZONE -D -f map -F text -o text.5 example.nil badmap >/dev/null
|
||||
[ $? = 1 ] || ret=1
|
||||
n=$((n + 1))
|
||||
@@ -303,7 +303,7 @@ status=$((status + ret))
|
||||
echo_i "checking corrupt map files fail to load (bad node data) ($n)"
|
||||
ret=0
|
||||
cp map.5 badmap
|
||||
stomp badmap 3137 5 127
|
||||
stomp badmap 3057 5 127
|
||||
$CHECKZONE -D -f map -F text -o text.5 example.nil badmap >/dev/null
|
||||
[ $? = 1 ] || ret=1
|
||||
n=$((n + 1))
|
||||
|
||||
@@ -13,4 +13,4 @@
|
||||
# Whenever releasing a new major release of BIND9, set this value
|
||||
# back to 1.0 when releasing the first alpha. Map files are *never*
|
||||
# compatible across major releases.
|
||||
MAPAPI=4.0
|
||||
MAPAPI=5.0
|
||||
|
||||
Reference in New Issue
Block a user