testutil_cleanup should not remove home directory on error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • StorEng - Refinement Pipeline
    • None

      I noticed this in timestamp_abort/main.c but it likely applies to other test programs as well. The call to testutil_cleanup will unconditionally remove the database home directory unless opts->preserve is set.

      This is a problem when there is an error and the erroneous database is removed.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Susan LoVerso (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: