XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • test
    • None
    • Reviewed

    Description

      The following are negative test cases for truncate.

      • new length > old length
      • truncating a directory
      • truncating a non-existing file
      • truncating a file without write permission
      • truncating a file opened for append
      • truncating a file in safemode

      Also add more truncate tests such as truncate with HA setup, truncate with other operations and multiple truncates.

      Attachments

        1. h7738_20150206c.patch
          30 kB
          Tsz-wo Sze
        2. h7738_20150206b.patch
          30 kB
          Tsz-wo Sze
        3. h7738_20150206.patch
          30 kB
          Tsz-wo Sze
        4. h7738_20150205b.patch
          32 kB
          Tsz-wo Sze
        5. h7738_20150205.patch
          23 kB
          Tsz-wo Sze
        6. h7738_20150204.patch
          12 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: