diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-12-15 23:57:17 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-12-15 23:57:17 +0000 |
commit | 6e6ec8b0c230c842ef853951cf51fa80a9382c5c (patch) | |
tree | c2f31552b39b1f9004cf727fa405b97c7506282e /nixos/tests/pam-u2f.nix | |
parent | e56df97ba1341ba7a329c3e90b1c12572315c943 (diff) | |
parent | a991de49f2aa3ab8716c73f6bfba722df23a3b50 (diff) | |
download | nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.gz nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.bz2 nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.lz nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.xz nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.tar.zst nixpkgs-6e6ec8b0c230c842ef853951cf51fa80a9382c5c.zip |
Merge remote-tracking branch 'nixpkgs/master' into master
Diffstat (limited to 'nixos/tests/pam-u2f.nix')
-rw-r--r-- | nixos/tests/pam-u2f.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nixos/tests/pam-u2f.nix b/nixos/tests/pam-u2f.nix index 1052a2f3b91..f492baa9e13 100644 --- a/nixos/tests/pam-u2f.nix +++ b/nixos/tests/pam-u2f.nix @@ -1,4 +1,4 @@ -import ./make-test.nix ({ ... }: +import ./make-test-python.nix ({ ... }: { name = "pam-u2f"; @@ -17,7 +17,9 @@ import ./make-test.nix ({ ... }: testScript = '' - $machine->waitForUnit('multi-user.target'); - $machine->succeed('egrep "auth required .*/lib/security/pam_u2f.so.*debug.*interactive.*cue" /etc/pam.d/ -R'); + machine.wait_for_unit("multi-user.target") + machine.succeed( + 'egrep "auth required .*/lib/security/pam_u2f.so.*debug.*interactive.*cue" /etc/pam.d/ -R' + ) ''; }) |