Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 91480faba468
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0c10431e4b4d
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Dec 7, 2019

  1. Copy the full SHA
    6b1faaf View commit details
  2. Merge pull request #75180 from flokli/nixos-test-port-pam-u2f

    nixosTests.pam-u2f: port test to python
    flokli authored Dec 7, 2019
    Copy the full SHA
    0c10431 View commit details
Showing with 5 additions and 3 deletions.
  1. +5 −3 nixos/tests/pam-u2f.nix
8 changes: 5 additions & 3 deletions nixos/tests/pam-u2f.nix
Original file line number Diff line number Diff line change
@@ -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'
)
'';
})