diff options
author | pennae <github@quasiparticle.net> | 2022-01-09 08:46:55 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-03-12 00:48:52 +0100 |
commit | 40a35299fa30421de85a56f084f6c59d05ea883e (patch) | |
tree | 563048cbb3cb7b4fdc870e1e3406b1738d0ec43a /nixos/tests/all-tests.nix | |
parent | 74f542c42e5bca4f74f53cf7054c8a93d4736f51 (diff) | |
download | nixpkgs-40a35299fa30421de85a56f084f6c59d05ea883e.tar nixpkgs-40a35299fa30421de85a56f084f6c59d05ea883e.tar.gz nixpkgs-40a35299fa30421de85a56f084f6c59d05ea883e.tar.bz2 nixpkgs-40a35299fa30421de85a56f084f6c59d05ea883e.tar.lz nixpkgs-40a35299fa30421de85a56f084f6c59d05ea883e.tar.xz nixpkgs-40a35299fa30421de85a56f084f6c59d05ea883e.tar.zst nixpkgs-40a35299fa30421de85a56f084f6c59d05ea883e.zip |
nixos: add functions and documentation for escaping systemd Exec* directives
it's really easy to accidentally write the wrong systemd Exec* directive, ones that works most of the time but fails when users include systemd metacharacters in arguments that are interpolated into an Exec* directive. add a few functions analogous to escapeShellArg{,s} and some documentation on how and when to use them.
Diffstat (limited to 'nixos/tests/all-tests.nix')
-rw-r--r-- | nixos/tests/all-tests.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 9f3e97ceb13..01708fe0679 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -459,6 +459,7 @@ in systemd-boot = handleTest ./systemd-boot.nix {}; systemd-confinement = handleTest ./systemd-confinement.nix {}; systemd-cryptenroll = handleTest ./systemd-cryptenroll.nix {}; + systemd-escaping = handleTest ./systemd-escaping.nix {}; systemd-journal = handleTest ./systemd-journal.nix {}; systemd-networkd = handleTest ./systemd-networkd.nix {}; systemd-networkd-dhcpserver = handleTest ./systemd-networkd-dhcpserver.nix {}; |