anchor.diff:          shadow.send_chars("whoami > /tmp/1\n")
           shadow.wait_for_file("/tmp/1")
           assert "emma" in shadow.succeed("cat /tmp/1")
  +
  +    with subtest("Switch user"):
  +        shadow.send_chars("su - ash\n")
  +        shadow.sleep(2)
  +        shadow.send_chars("${password4}\n")
  +        shadow.sleep(2)
  +        shadow.send_chars("whoami > /tmp/3\n")
  +        shadow.wait_for_file("/tmp/3")
  +        assert "ash" in shadow.succeed("cat /tmp/3")
   
       with subtest("Change password"):
           shadow.send_key("alt-f3")
  
positive.code:   password1 = "foobar";
    password2 = "helloworld";
    password3 = "bazqux";
  in import ./make-test-python.nix ({ pkgs, ... }: {
    name = "shadow";
    meta = with pkgs.stdenv.lib.maintainers; { maintainers = [ nequissimus ]; };
  
negative.code:       users.layla = {
          password = password2;
          shell = pkgs.shadow;
        };
        users.ash = {
          password = password4;
          shell = pkgs.bash;
        };
      };
    };
  