diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-01-09 18:17:17 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-01-09 18:17:17 +0000 |
commit | 7adc21218fb16a210bbd6fac8e03a2fb696d96c5 (patch) | |
tree | c9f30c29e78cfcdd0db55e34ea06729c694365a9 /tests/quake3.nix | |
parent | a3aa97009c9619a21c21292de2c0ac890ba69fd3 (diff) | |
download | nixpkgs-7adc21218fb16a210bbd6fac8e03a2fb696d96c5.tar nixpkgs-7adc21218fb16a210bbd6fac8e03a2fb696d96c5.tar.gz nixpkgs-7adc21218fb16a210bbd6fac8e03a2fb696d96c5.tar.bz2 nixpkgs-7adc21218fb16a210bbd6fac8e03a2fb696d96c5.tar.lz nixpkgs-7adc21218fb16a210bbd6fac8e03a2fb696d96c5.tar.xz nixpkgs-7adc21218fb16a210bbd6fac8e03a2fb696d96c5.tar.zst nixpkgs-7adc21218fb16a210bbd6fac8e03a2fb696d96c5.zip |
* Simulate connection interruptions.
svn path=/nixos/trunk/; revision=25470
Diffstat (limited to 'tests/quake3.nix')
-rw-r--r-- | tests/quake3.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/quake3.nix b/tests/quake3.nix index 1a9f53d1a56..faaf8d2c539 100644 --- a/tests/quake3.nix +++ b/tests/quake3.nix @@ -42,10 +42,21 @@ rec { $server->waitUntilSucceeds("grep -q 'Foo.*entered the game' /tmp/log"); $server->waitUntilSucceeds("grep -q 'Bar.*entered the game' /tmp/log"); - sleep 30; # wait for a while to get a nice screenshot + sleep 10; # wait for a while to get a nice screenshot + + $client1->block(); + + sleep 20; $client1->screenshot("screen1"); $client2->screenshot("screen2"); + + $client1->unblock(); + + sleep 10; + + $client1->screenshot("screen3"); + $client2->screenshot("screen4"); ''; } |