Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-3074

[filebrowser] Update xxd_test to not fail for different offset lengths

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.10.0
    • Component/s: app.filebrowser
    • Labels:
    • Environment:

      Red Hat

    • Target Version:
    • Easy:
      Easy

      Description

      Some distributions have different implementations of xxd which change how many bytes are outputted for the offset field. The current xxd_test.py assumes that this is the same as the hue xxd implementation (which is 7bytes of offset). It would be better to not care about leading zeros in the test which would make this test extendable to all distributions. This will not affect the other bytes being outputted and will still compare both outputs once the padding is removed.

        Attachments

          Activity

            People

            • Assignee:
              zyork Zach York
              Reporter:
              zyork Zach York
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: