mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
turbovnc.tests: Fix negative test failing due to string grep
(cherry picked from commit 1be779cf3c
)
This commit is contained in:
parent
a38ef549c0
commit
89b861f2d2
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
|||
machine.wait_until_succeeds("test -f /tmp/glxgears-should-fail.stderr")
|
||||
wait_until_terminated_or_succeeds(
|
||||
termination_check_shell_command="pidof glxgears",
|
||||
success_check_shell_command="grep 'libGL error: failed to load driver: swrast' /tmp/glxgears-should-fail.stderr",
|
||||
success_check_shell_command="grep 'MESA-LOADER: failed to open swrast' /tmp/glxgears-should-fail.stderr",
|
||||
get_detail_message_fn=lambda: "Contents of /tmp/glxgears-should-fail.stderr:\n"
|
||||
+ machine.succeed("cat /tmp/glxgears-should-fail.stderr"),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue