Skip to content

Termshark's build time tests fail with Wireshark 4.6.0 #169

@rbalint

Description

@rbalint

Prerequisites

Please verify these before submitting an issue.

  • I am running the latest versions of Termshark and Wireshark.
  • I checked the README and User Guide and found no answer
  • I searched issues and this has not yet been filed

Problem

Termshark's build time tests fail with Wireshark 4.6.0

Current Behavior

Termshark's build time tests fail with Wireshark 4.6.0

> GCLA: adding {Time (format as specified)                _ws.col.cls_time %t false}
>     columnformat_test.go:29:
>                 Error Trace:    /build/termshark-2.4.0/_build/src/github.com/gcla/termshark/pkg/shark/columnformat_test.go:29
>                 Error:          Not equal:
>                                 expected: "Absolute time"
>                                 actual  : "Absolute time                      \t_ws.col.abs_time"
> 
>                                 Diff:
>                                 --- Expected
>                                 +++ Actual
>                                 @@ -1 +1 @@
>                                 -Absolute time
>                                 +Absolute time                          _ws.col.abs_time
>                 Test:           TestCF1
>     columnformat_test.go:33:
>                 Error Trace:    /build/termshark-2.4.0/_build/src/github.com/gcla/termshark/pkg/shark/columnformat_test.go:33
>                 Error:          Not equal:
>                                 expected: "Src addr (resolved)"
>                                 actual  : "Src addr (resolved)                \t_ws.col.res_src"
> 
>                                 Diff:
>                                 --- Expected
>                                 +++ Actual
>                                 @@ -1 +1 @@
>                                 -Src addr (resolved)
>                                 +Src addr (resolved)                    _ws.col.res_src
>                 Test:           TestCF1
> --- FAIL: TestCF1 (0.14s)

Expected Behavior

Tests pass.

Steps to Reproduce

Build Termshark with Wireshark 4.6.0 or later

Also reported to Debian at:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118335

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions