doc: Escape `>'.
svn path=/nixos/trunk/; revision=26212
This commit is contained in:
parent
79a322f050
commit
d028ec95d0
@ -413,21 +413,21 @@ $ qemu-system-x86_64 -kernel ./kernel/bzImage -initrd ./initrd/initrd -hda /dev/
|
|||||||
$ nix-build tests/ -A nfs.driver
|
$ nix-build tests/ -A nfs.driver
|
||||||
$ ./result/bin/nixos-test-driver
|
$ ./result/bin/nixos-test-driver
|
||||||
starting VDE switch for network 1
|
starting VDE switch for network 1
|
||||||
>
|
>
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
Perl statements can now be typed in to start or manipulate the
|
Perl statements can now be typed in to start or manipulate the
|
||||||
VMs:
|
VMs:
|
||||||
|
|
||||||
<screen>
|
<screen>
|
||||||
> startAll;
|
> startAll;
|
||||||
(the VMs start booting)
|
(the VMs start booting)
|
||||||
> $server->waitForJob("nfs-kernel-nfsd");
|
> $server->waitForJob("nfs-kernel-nfsd");
|
||||||
> $client1->succeed("flock -x /data/lock -c 'sleep 100000' &");
|
> $client1->succeed("flock -x /data/lock -c 'sleep 100000' &");
|
||||||
> $client2->fail("flock -n -s /data/lock true");
|
> $client2->fail("flock -n -s /data/lock true");
|
||||||
> $client1->shutdown;
|
> $client1->shutdown;
|
||||||
(this releases client1's lock)
|
(this releases client1's lock)
|
||||||
> $client2->succeed("flock -n -s /data/lock true");
|
> $client2->succeed("flock -n -s /data/lock true");
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
The function <command>testScript</command> executes the entire
|
The function <command>testScript</command> executes the entire
|
||||||
|
Loading…
x
Reference in New Issue
Block a user