diff options
author | Scott Worley <scottworley@scottworley.com> | 2021-05-31 08:17:08 -0700 |
---|---|---|
committer | Scott Worley <scottworley@scottworley.com> | 2021-05-31 11:58:48 -0700 |
commit | e83531aa220c5343f5c3e909a79d5fb9a5d881e0 (patch) | |
tree | 2fdce75a64828c41ed94d01f78311f9eaa5aa511 /nixos/tests/wine.nix | |
parent | a9eecaff54b506ae37207c2dbb46da4dfc68bfd1 (diff) |
wine: gecko 2.47.1 -> 2.47.2
Wine uses gecko 2.47.2 since wine commit 70567d9f2d32fa3f052609051e9913344f24c42a, which is wine versions 6.0 up through current (6.9) Add a test verifying that the "Can't find Gecko" error message does not appear. A positive test of HTML rendering would be better (eg: would be robust against changes in the error message string), but this test is easy to set up & much better than nothing.
Diffstat (limited to 'nixos/tests/wine.nix')
-rw-r--r-- | nixos/tests/wine.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/tests/wine.nix b/nixos/tests/wine.nix index 566b9baa67bfa..30d417ce9faa9 100644 --- a/nixos/tests/wine.nix +++ b/nixos/tests/wine.nix @@ -25,9 +25,12 @@ let machine.wait_for_unit("multi-user.target") ${concatMapStrings (exe: '' greeting = machine.succeed( - 'wine ${exe}' + "bash -c 'wine ${exe} 2> >(tee wine-stderr >&2)'" ) assert 'Hello, world!' in greeting + machine.fail( + "fgrep 'Could not find Wine Gecko. HTML rendering will be disabled.' wine-stderr" + ) '') exes} ''; }; |