mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
* This passwd doesn't have a --stdin flag.
svn path=/nixos/trunk/; revision=22110
This commit is contained in:
parent
0cdce12006
commit
48255afa61
@ -7,7 +7,7 @@
|
|||||||
testScript =
|
testScript =
|
||||||
''
|
''
|
||||||
$machine->mustSucceed("useradd -m alice");
|
$machine->mustSucceed("useradd -m alice");
|
||||||
$machine->mustSucceed("echo foobar | passwd --stdin alice");
|
$machine->mustSucceed("(echo foobar; echo foobar) | passwd alice");
|
||||||
|
|
||||||
# Log in as alice on a virtual console.
|
# Log in as alice on a virtual console.
|
||||||
$machine->waitForJob("tty1");
|
$machine->waitForJob("tty1");
|
||||||
|
Loading…
Reference in New Issue
Block a user