1. 29 Oct, 2001 2 commits
    • Jeremy Hylton's avatar
      Small change to pack to make it more robust. · b94b218f
      Jeremy Hylton authored
      If the packpos returned by the read_index() call is 4, return immediately.
      In this case, the very first transaction, which contains the root object,
      is after the pack time.  This is a degenerate case, but it seems clearest
      to do nothing.
      
      This change eliminates an unexpected traceback in pack() that occurred
      frequently, but not every time, when testing on Windows.  When
      read_index() returned 4, a seek() call in _redundant_pack() would fail
      with a bad argument.
      
      Add an assertion to _redundant_pack() because it should never be called
      with bogus arguments as a result of the other change.
      b94b218f
    • Jeremy Hylton's avatar
      Fix test to succeed on Windows. · 0b70a63b
      Jeremy Hylton authored
      Don't test for explicit end-of-line markers, since they vary across
      platforms.  Instead, strip() the line read and test for the actual content.
      0b70a63b
  2. 26 Oct, 2001 3 commits
    • Jeremy Hylton's avatar
      Tests for transactional undo support need to be more cautious: · ebdf1e36
      Jeremy Hylton authored
      If a storage doesn't support T.U. and is old enough, you need to first
      check if it has a supportsTransactionalUndo attribute.
      ebdf1e36
    • Jeremy Hylton's avatar
      Update tests so that ZEO tests pass on Zope 2.3. · 32425b5a
      Jeremy Hylton authored
      There are a few problems with Zope 2.3 that prevented the tests from
      succeeding.  Since the 1.0 release must support Zope 2.3, we'll need
      to hack the various tests to work around them.
      
          Assuming releases after 1.0 don't need to work with 2.3: After the
          1.0 final release, I'll tag both ZEO and ZODB trees and then undo
          all these silly changes.
      
      Problems:
      
          - no support for transactional undo or getSerial()
          - FileStorage commitVersion() and abortVersion() didn't check for
            bogus arguments
      32425b5a
    • Jeremy Hylton's avatar
      Some reformatting for readability. · 21067f66
      Jeremy Hylton authored
      21067f66
  3. 24 Oct, 2001 4 commits
  4. 22 Oct, 2001 4 commits
  5. 19 Oct, 2001 3 commits
  6. 18 Oct, 2001 1 commit
  7. 17 Oct, 2001 1 commit
    • Tres Seaver's avatar
      · 9876c565
      Tres Seaver authored
        o Land unit test cleanup from branch.
      
        o Known breakage as of 2001/10/17:
      
          - TAL test suite is very broken (TAL is currently suppressed in
            lib/python/.testinfo).
      
          - AccessControl tests don't run if run first;  lib/python/.testinfo
            pushes them to the end of the queue, at which point they *do* run.
            Global side effects suck!
      
          - lib/python/BTrees/testBTreesUnicode.py:  weird flakiness around
            comparison of ASCII and Unicode strings;  breaks in different
            ways under Python 2.1 and 2.2.
      
          - lib/python/Products/PageTemplates/tests:  three tests break due
            to security asserctions.
      9876c565
  8. 15 Oct, 2001 3 commits
  9. 10 Oct, 2001 2 commits
  10. 08 Oct, 2001 5 commits
  11. 05 Oct, 2001 11 commits
  12. 04 Oct, 2001 1 commit