rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / x11 / libxkbcommon / patches / 01-fix-assert.patch
blob00bfac93cccbd9c457bf4b9d626908659b53f358
1 The output that the test expects is wrong. We get
2 ./xkbcli: illegal option -- foobar
3 Usage: xkbcli [--help|-h] [--version|-V] <command> [<args>]
4 ...
5 here. Thus, remove the wrong expectations to make the test pass.
7 --- libxkbcommon-xkbcommon-1.4.1/test/tool-option-parsing.py.orig 2022-05-21 21:55:22.000000000 +0000
8 +++ libxkbcommon-xkbcommon-1.4.1/test/tool-option-parsing.py 2022-11-13 11:02:58.556524894 +0000
9 @@ -111,8 +111,6 @@
10 def run_command_unrecognized_option(self, args):
11 rc, stdout, stderr = self.run_command(args)
12 assert rc == 2, (rc, stdout, stderr)
13 - assert stdout.startswith('Usage') or stdout == ''
14 - assert 'unrecognized option' in stderr
16 def run_command_missing_arg(self, args):
17 rc, stdout, stderr = self.run_command(args)