mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
remove test for accessibility programs
This commit is contained in:
parent
2c6f80380f
commit
2c05db6aca
2 changed files with 0 additions and 15 deletions
|
@ -91,7 +91,6 @@ let
|
|||
|
||||
tests.environment-path = makeTest ./tests/environment-path.nix;
|
||||
tests.launchd-setenv = makeTest ./tests/launchd-setenv.nix;
|
||||
tests.security-accessibility-programs = makeTest ./tests/security-accessibility-programs.nix;
|
||||
tests.services-activate-system = makeTest ./tests/services-activate-system.nix;
|
||||
tests.system-defaults-write = makeTest ./tests/system-defaults-write.nix;
|
||||
tests.system-packages = makeTest ./tests/system-packages.nix;
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
security.enableAccessibilityAccess = true;
|
||||
security.accessibilityPrograms = [ "${pkgs.hello}/bin/hello" ];
|
||||
|
||||
test = ''
|
||||
echo checking sqlite command in /activate >&2
|
||||
grep "/usr/bin/sqlite3 /Library/Application\\\\ Support/com.apple.TCC/TCC.db" ${config.out}/activate
|
||||
echo checking sqlite queries /activate >&2
|
||||
grep "INSERT or REPLACE INTO access VALUES ('kTCCServiceAccessibility','${pkgs.hello}/bin/hello',1,1,1,NULL,NULL)" ${config.out}/activate
|
||||
grep "DELETE FROM access WHERE client LIKE '/nix/store/%' AND client NOT IN ('${pkgs.hello}/bin/hello')" ${config.out}/activate
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue