tests: change quoting to match new Nixpkgs behavior

Fixes tests that are affected by
<https://github.com/NixOS/nixpkgs/pull/333744>.
This commit is contained in:
Robert Helgesson 2024-09-08 09:55:05 +02:00
parent ec4c6928bb
commit 8a175a8913
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
39 changed files with 58 additions and 58 deletions

View file

@ -27,7 +27,7 @@
};
nmt.script = ''
assertFileNotRegex activate "^export GNUPGHOME='/home/hm-user/.gnupg'$"
assertFileNotRegex activate "^export GNUPGHOME=/home/hm-user/.gnupg$"
assertFileRegex activate \
'^install -m 0700 /nix/store/[0-9a-z]*-gpg-pubring/trustdb.gpg "/home/hm-user/.gnupg/trustdb.gpg"$'

View file

@ -17,7 +17,7 @@
test.stubs.systemd = { }; # depends on gnupg.override
nmt.script = ''
assertFileContains activate "export GNUPGHOME='/home/hm-user/.gnupg'"
assertFileContains activate "export GNUPGHOME=/home/hm-user/.gnupg"
assertFileContains activate "unset GNUPGHOME QUIET_ARG keyId importTrust"