Eelco Dolstra
ee4e004cc4
* Add a test for the firewall.
...
svn path=/nixos/trunk/; revision=26276
2011-03-11 13:38:52 +00:00
Eelco Dolstra
6160100a9a
* Don't run klogd in tests to prevent duplicate kernel messages in the
...
log output. (It wasn't running anyway because the preStart command
was broken.) Note that "dmesg -c" doesn't have an effect on klogd,
and "klogd -o" is broken.
svn path=/nixos/trunk/; revision=26273
2011-03-11 12:56:04 +00:00
Eelco Dolstra
8db3bdc4fc
* In VM tests, use acpi_pm as the clock source. This causes the guest
...
clock to slow down under high host load. This is usually a bad
thing, but for VM tests it should provide a bit more determinism
(e.g. if the VM runs at lower speed, then timeouts in the VM should
also be delayed).
svn path=/nixos/trunk/; revision=25490
2011-01-10 14:22:38 +00:00
Eelco Dolstra
e09faf4bb3
* Handle the case where /tmp/coverage-data already exists.
...
svn path=/nixos/trunk/; revision=25486
2011-01-10 12:22:24 +00:00
Eelco Dolstra
d0108cd951
* Set GCOV_PREFIX for all Upstart jobs.
...
svn path=/nixos/trunk/; revision=25479
2011-01-09 22:01:18 +00:00
Eelco Dolstra
4046056cdc
* In the activation script, don't require the path to the "system"
...
derivation on the command line.
svn path=/nixos/trunk/; revision=23770
2010-09-13 18:19:15 +00:00
Eelco Dolstra
d48e2fdb4d
* Don't print kernel log messages twice.
...
svn path=/nixos/trunk/; revision=23769
2010-09-13 17:36:01 +00:00
Nicolas Pierron
c9dc3651da
Replace mkOverride by its alias mkOverrideTemplate to remove the unused
...
template argument of mkOverride later.
svn path=/nixos/trunk/; revision=23631
2010-09-03 19:10:59 +00:00
Eelco Dolstra
1a5c18d1b6
svn path=/nixos/trunk/; revision=22647
2010-07-18 22:29:40 +00:00
Eelco Dolstra
158c3daec1
* Don't do the "poweroff -f" fallback because that prevents
...
interactive testing ("nix-build tests/ -A nfs.vms;
./result/bin/run-vms").
svn path=/nixos/trunk/; revision=22565
2010-07-12 16:09:02 +00:00
Eelco Dolstra
ae539b7790
* Oops.
...
svn path=/nixos/trunk/; revision=22561
2010-07-12 13:42:59 +00:00
Eelco Dolstra
aa3230979b
* Set the priorities right.
...
svn path=/nixos/trunk/; revision=22560
2010-07-12 13:41:22 +00:00
Eelco Dolstra
061ea1674f
* Increase the CIFS timeout here as well.
...
svn path=/nixos/branches/boot-order/; revision=22348
2010-06-20 20:52:42 +00:00
Eelco Dolstra
593a110c47
* Make sure that kernel log messages appear in the VM output. The
...
comment was incorrect - when klogd is running, kernel messages no
longer appear on the serial port.
svn path=/nixos/branches/boot-order/; revision=22346
2010-06-20 19:22:23 +00:00
Eelco Dolstra
20a88efffa
* Fix networking in the installer test.
...
* If connecting to the host fails in the guest, then shutdown
immediately.
svn path=/nixos/branches/boot-order/; revision=22341
2010-06-20 15:33:44 +00:00
Eelco Dolstra
363806e89b
* To establish the connection to the root shell in the guest, let the
...
guest connect to a Unix domain socket on the host rather than the
other way around. The former is a QEMU feature (guestfwd to a
socket) while the latter requires a patch (which we can now get rid
of).
svn path=/nixos/branches/boot-order/; revision=22331
2010-06-18 19:31:02 +00:00
Eelco Dolstra
200a8b9a56
* Change the priority to make the NAT and Bittorrent tests work.
...
svn path=/nixos/branches/boot-order/; revision=22329
2010-06-18 18:53:13 +00:00
Eelco Dolstra
ac22e5369f
* Prevent tests from accessing the host's network accidentally. For
...
instance, `nixos-rebuild' in the installer test does a `nix-pull'
from nixos.org.
svn path=/nixos/branches/boot-order/; revision=22325
2010-06-18 13:21:01 +00:00
Eelco Dolstra
43d6b17d87
* In the NixOS tests, send syslog messages to the serial port (so that
...
they appear in the build log of the test).
svn path=/nixos/trunk/; revision=20490
2010-03-09 13:31:20 +00:00
Eelco Dolstra
ec3398e4b2
* Move the serial console kernel parameters to test-instrumentation.nix.
...
svn path=/nixos/trunk/; revision=19275
2010-01-06 21:16:57 +00:00
Eelco Dolstra
bb236f99de
* Urgh, socat ignores SIGCHLD, which causes Nix builds to fail.
...
svn path=/nixos/trunk/; revision=19270
2010-01-06 18:03:31 +00:00
Eelco Dolstra
bc68c2985c
* Added a function waitForX, which returns when the X server accepts
...
connections.
* In the root shell, source /etc/bashrc and set $HOME and $DISPLAY.
svn path=/nixos/trunk/; revision=19247
2010-01-05 23:59:29 +00:00
Eelco Dolstra
5cc99487cb
* A function to wait until a window exists.
...
svn path=/nixos/trunk/; revision=19246
2010-01-05 23:38:13 +00:00
Eelco Dolstra
7541141a7a
* Send stderr to /dev/ttyS0 (so that it doesn't pollute the socket
...
connection).
svn path=/nixos/trunk/; revision=19226
2010-01-05 11:42:08 +00:00
Eelco Dolstra
170331be30
* Don't use /hostfs to signal the test driver that a VM is up, but
...
write some magic string to ttyS0. This removes the dependency on
having a CIFS mount.
* Use a thread to process the stdout/stderr of each QEMU instance.
* Add a kernel command line parameter "stage1panic" to tell stage 1 to
panic if an error occurs. This is faster than waiting until
connect() times out.
svn path=/nixos/trunk/; revision=19212
2010-01-04 18:04:57 +00:00
Eelco Dolstra
9aa0a336bc
* Updated the coverage analysis handling for Linux 2.6.32. Gcov is
...
now merged in the kernel, and the gcda files are exported through
debugfs in /sys/kernel/debug/gcov.
svn path=/nixos/trunk/; revision=19207
2010-01-04 13:22:43 +00:00
Eelco Dolstra
13878cb78d
* Panic on out-of-memory.
...
svn path=/nixos/trunk/; revision=19200
2010-01-04 09:51:57 +00:00
Rob Vermaas
ed6d8c6881
due to new upstart version, vm tests didn't work anymore
...
svn path=/nixos/trunk/; revision=18840
2009-12-08 11:41:21 +00:00
Eelco Dolstra
eba8f94069
* jobAttrs -> jobs.
...
svn path=/nixos/trunk/; revision=17769
2009-10-12 18:09:34 +00:00
Eelco Dolstra
d982f23f20
* Convert the remaining jobs to jobAttrs style.
...
svn path=/nixos/trunk/; revision=17764
2009-10-12 17:27:57 +00:00
Eelco Dolstra
e7acca2ba3
* Cleanup the kernel coverage analysis.
...
svn path=/nixos/trunk/; revision=16919
2009-09-01 22:50:46 +00:00
Eelco Dolstra
921b838149
* test -> tests.
...
svn path=/nixos/trunk/; revision=16897
2009-08-31 13:40:57 +00:00