Track VRT major version change in test cases

Ref d72caa00
parent 619d92a7
...@@ -96,7 +96,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so "\x03" ...@@ -96,7 +96,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so "\x03"
varnish v1 -errvcl {VMOD wants ABI version 1.0} { import wrong; } varnish v1 -errvcl {VMOD wants ABI version 1.0} { import wrong; }
############################################################# #############################################################
# NB: in the tests below "15" should track VRT_MAJOR_VERSION # NB: in the tests below "16" should track VRT_MAJOR_VERSION
filewrite ${tmpdir}/libvmod_wrong.so "VMOD_JSON_SPEC\x02" filewrite ${tmpdir}/libvmod_wrong.so "VMOD_JSON_SPEC\x02"
filewrite -a ${tmpdir}/libvmod_wrong.so { filewrite -a ${tmpdir}/libvmod_wrong.so {
...@@ -108,7 +108,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so { ...@@ -108,7 +108,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so {
"Vmod_vmod_wrong_Func", "Vmod_vmod_wrong_Func",
"0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000",
"15", "16",
"0" "0"
], [ ], [
"$FOOBAR" "$FOOBAR"
...@@ -128,7 +128,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so { ...@@ -128,7 +128,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so {
"Vmod_vmod_wrong_Func", "Vmod_vmod_wrong_Func",
"0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000",
"15", "16",
"0" "0"
] ]
] ]
...@@ -146,7 +146,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so { ...@@ -146,7 +146,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so {
"Vmod_vmod_wrong_Func", "Vmod_vmod_wrong_Func",
"0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000",
"15", "16",
"0" "0"
], [ ], [
"$CPROTO" "$CPROTO"
...@@ -168,7 +168,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so { ...@@ -168,7 +168,7 @@ filewrite -a ${tmpdir}/libvmod_wrong.so {
"Vmod_vmod_std_Func", "Vmod_vmod_std_Func",
"0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000000", "0000000000000000000000000000000000000000000000000000000000000000",
"15", "16",
"0" "0"
], [ ], [
"$CPROTO", "/* blabla */" "$CPROTO", "/* blabla */"
......
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