cmd/snap: skip tests depending on text wrapping
authorZygmunt Krynicki <me@zygoon.pl>
Thu, 17 Jan 2019 15:38:41 +0000 (17:38 +0200)
committerZygmunt Krynicki <me@zygoon.pl>
Thu, 19 Sep 2024 12:43:40 +0000 (14:43 +0200)
commitd5ace1c45908a1cf6475c595ab75a94807cfd3e3
tree09110298a0cb96a5a0b513e7852fc2d3dfba19bb
parent53cc78807df13295b3ed5d682ed485c9387625fd
cmd/snap: skip tests depending on text wrapping

Upstream snapd contains tests that check the output of various commands
along with the --help command-line argument. The output is wrapped to
match terminal width and for readability. The algorithm for wrapping
has apparently changed across versions of github.com/jessevdk/go-flags.

Since this test is not critical for anything it can be disabled to let
the package build.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Gbp-Pq: Name 0004-cmd-snap-skip-tests-depending-on-text-wrapping.patch
cmd/snap/cmd_alias_test.go
cmd/snap/cmd_connect_test.go
cmd/snap/cmd_disconnect_test.go
cmd/snap/cmd_info_test.go
cmd/snap/cmd_interface_test.go
cmd/snap/cmd_list_test.go
cmd/snap/cmd_prefer_test.go
cmd/snap/cmd_unalias_test.go