1. 30 Nov, 2011 2 commits
    • Rusty Russell's avatar
      failtest: add --trace to replace --tracepath · 614259f1
      Rusty Russell authored
      This gives a much deeper insight into what failtest is doing; good for
      debugging failtest itself.
      614259f1
    • Rusty Russell's avatar
      failtest: save and restore file state inside child (on-demand) · 67bbee53
      Rusty Russell authored
      We currently save all files in the parent, and restore them once
      the child is gone.  That doesn't work in a case where the child
      manipulates a file the parent doesn't currently have open, so
      switch to a model where the child cleans itself up, using the
      already-existing cleanup callbacks.
      
      This means that we need to undo much more, especially restoring
      file offsets.  We also need to handle the case where we've already
      closed the file, and now we're cleaning up.  As a bonus, we now
      handle open() with O_TRUNC properly.
      
      The cleanup function now has two modes: one simply frees (so valgrind
      doesn't complain about failtest leaking so the user can see real leaks
      in their programs), the other restores things so the parent sees no
      changes.
      67bbee53
  2. 29 Nov, 2011 20 commits
  3. 23 Nov, 2011 2 commits
  4. 21 Nov, 2011 2 commits
  5. 16 Nov, 2011 1 commit
  6. 15 Nov, 2011 2 commits
    • Rusty Russell's avatar
      ccanlint: make fewer tests compulsory. · 441a3cb1
      Rusty Russell authored
      Compulsory means "malformed", we might get rid of it altogether, since
      any test can mark "fail" and make ccanlint exit with non-zero status.
      
      Now we only have four compulsory tests:
         info_exists               Module has _info file
         depends_exist             Module's CCAN dependencies can be found
         objects_build             Module object files can be built
         module_builds             Module can be built from object files
      441a3cb1
    • Rusty Russell's avatar
      ccanlint: fix ccanlint -l · c5940717
      Rusty Russell authored
      c5940717
  7. 01 Nov, 2011 5 commits
  8. 26 Oct, 2011 3 commits
  9. 24 Oct, 2011 1 commit
  10. 05 Oct, 2011 2 commits