* This passwd doesn't have a --stdin flag.

svn path=/nixos/trunk/; revision=22110
This commit is contained in:
Eelco Dolstra 2010-06-02 21:59:19 +00:00
parent 0cdce12006
commit 48255afa61

View File

@ -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");