1. 14 Nov, 2019 1 commit
    • Dridi Boukelmoune's avatar
      Big bang rewrite of m00049.vtc · 175af0b9
      Dridi Boukelmoune authored
      Now that vtc.typesize() is a bit more reliable, it's easier to deal with
      architecture differences for the sizeof struct vrt_blob. For a much more
      reliable failure check, it now looks at logs.
      
      There may also have been a time when depending on the error we trigger
      we could fail with a 500 or a 503, this is no longer the case.
      
      For the nitty-gritty of the new test case, there are some comments to
      hopefully help (at least my future self) decipher this beast.
      
      This new test case remains stable even with the changes from #3123.
      175af0b9
  2. 13 Nov, 2019 17 commits
  3. 12 Nov, 2019 1 commit
  4. 11 Nov, 2019 8 commits
  5. 10 Nov, 2019 1 commit
  6. 09 Nov, 2019 1 commit
  7. 08 Nov, 2019 4 commits
    • Dridi Boukelmoune's avatar
      Apply bandaid to missing VMOD symbol errors · 46a6a3af
      Dridi Boukelmoune authored
      The VCL compilation error message when a VMOD symbol does not exist
      simply disappeared. When I figured how to bring it back I was lucky
      my test case exhibited another quirk for the following case:
      
          new foo = bar.foo()
      
      Where bar is a successfully imported VMOD, and foo is the missing
      constructor. For some reason instance symbols are created with VCL
      low and high values, so the missing foo constructor ended up being
      confused with the existing foo instance.
      
      The regression I initially hunted down (the lack of error message
      in the first place) was introduced by 340abd04. I suggest we
      don't give VMOD-induced symbols a VCL low/high since by definition
      they are not tied to a VCL version (even though they may do so at
      run time) and use that criteria to filter out the spurious error
      message:
      
      > Symbol not found: 'directors.foo' (Only available when 4.0 <= VCL
      > syntax <= 4.0)
      
      If there is no proper low or high (and 4.0 is legit) then we don't
      print the "Only available when" part? For now I needed the bandaid.
      
      Refs 340abd04
      46a6a3af
    • Dridi Boukelmoune's avatar
      Avoid VSB_printf for plain text · bd3b87ba
      Dridi Boukelmoune authored
      We have a new printf_nofmt.cocci semantic patch to catch future
      offenders.
      bd3b87ba
    • Poul-Henning Kamp's avatar
      Eliminate a level of structure on vrt_privs, the extra 'magic' does · 7532c3a7
      Poul-Henning Kamp authored
      not buy us anything because the compiler can see at all times what
      goes on.
      7532c3a7
    • Poul-Henning Kamp's avatar
      Don't replicate existing default code. · d9195348
      Poul-Henning Kamp authored
      d9195348
  8. 07 Nov, 2019 2 commits
  9. 06 Nov, 2019 5 commits