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:
Robert Scott 2021-10-05 20:41:13 +01:00
parent 14aef06d9b
commit 51e1f15251

View file

@ -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"
];
};