1. 29 Aug, 2016 5 commits
    • Poul-Henning Kamp's avatar
      Adopt the guts of FreeBSD's random(3) implementation for a "testable" · a9b04493
      Poul-Henning Kamp authored
      random bit supply.
      
      Initialize all usual random sources (random(3), rand48(3) and
      VRND_RandomTestable[Double]() with kernel entropy on startup.
      
      Use VRND_RandomCrypto() (= /dev/urandom) for security relevant tasks.
      
      Make the director.random and std.random use VRND_RandomTestable(),
      add suitable references and warnings in their docs.
      
      Fix the two testcases which need a testable random generator.
      a9b04493
    • Dridi Boukelmoune's avatar
      Iterate without an extra variable · fd251da5
      Dridi Boukelmoune authored
      fd251da5
    • Dridi Boukelmoune's avatar
      A `cmd` feature for custom shell-based checks · d1799613
      Dridi Boukelmoune authored
      In addition to harcoded features in varnishtest, this opens a window for
      out-of-tree uses of the test framework to skip test cases if an external
      component (a database system, OS-specific capabilities, an environment
      variable, a library, etc) is missing.
      
      This feature takes an extra argument, a command-line that must exit with
      a zero status. Complex feature testing can nicely be wrapped in scripts
      at the user's discretion:
      
          feature cmd "my --command=line"
      
      If the test is skipped, it is logged as:
      
          **   top   0.0 === feature cmd "my --command=line"
          *    top   0.0 SKIPPING test, missing feature: my --command=line
      
      If the command-line is missing, it is logged as:
      
          **   top   0.0 === feature cmd
          ---- top   0.0 Missing the command line
      d1799613
    • Poul-Henning Kamp's avatar
    • Poul-Henning Kamp's avatar
      Add VRND_CryptoQuality() so we don't have /dev/random creeping in · a8250f55
      Poul-Henning Kamp authored
      all over the place.
      
      Drop fallbacks, if your OS do not have /dev/random in 2016, it should
      not have a network connection either.
      a8250f55
  2. 28 Aug, 2016 1 commit
  3. 25 Aug, 2016 1 commit
    • Lasse Karstensen's avatar
      Add script to run Coverity. · 44fed1db
      Lasse Karstensen authored
      This will allow anyone with the Coverity scanner installed and our
      authtoken to upload their own feature branch if they want to.
      
      Main point is to get this out of the Jenkins job definition and into
      something that is more developer accessible.
      
      Doing my best to keep it /bin/sh compatible.
      44fed1db
  4. 24 Aug, 2016 1 commit
  5. 23 Aug, 2016 6 commits
  6. 22 Aug, 2016 6 commits
  7. 20 Aug, 2016 1 commit
  8. 18 Aug, 2016 2 commits
  9. 16 Aug, 2016 10 commits
  10. 15 Aug, 2016 6 commits
  11. 11 Aug, 2016 1 commit