onionshare: disable test_receive_mode_webhook on darwin
in theory we could use libredirect to point it at a fake /etc/passwd but that seems a little much
This commit is contained in:
parent
14aef06d9b
commit
51e1f15251
1 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonApplication
|
||||
, substituteAll
|
||||
, fetchFromGitHub
|
||||
|
@ -111,6 +112,11 @@ rec {
|
|||
"test_firefox_like_behavior"
|
||||
"test_if_unmodified_since"
|
||||
"test_get_tor_paths_linux" # expects /usr instead of /nix/store
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# on darwin (and only on darwin) onionshare attempts to discover
|
||||
# user's *real* homedir via /etc/passwd, making it more painful
|
||||
# to fake
|
||||
"test_receive_mode_webhook"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue