Jacek Galowicz
52ee1026b0
nixos/test: Handle undecodable bytes
...
This threw exceptions in boot menus
2019-11-07 10:00:39 +01:00
Jacek Galowicz
cf138b4e6b
nixos/tests: Fix subprocess launch call for VM monitor
...
This crashed in the create-script case
2019-11-06 21:48:08 +01:00
Daniel Schaefer
afbfef93a7
nixos/tests: Ignore shutdown/crash if not booted
...
Condition seems to be inverted. Crash and shutdown only make sense, when
the machine is booted; i.e. we return immediately otherwise.
In the Perl test driver this is:
return unless $self->{booted};
2019-11-06 16:06:43 +01:00
Florian Klink
ac97edf013
nixos/test: use ptpython as repl
2019-11-04 23:50:27 +01:00
Jacek Galowicz
3a28fefe7d
nixos/test: Port test driver to python
...
Thanks @blitz and @jtraue for help with implementing machine methods
2019-11-04 23:50:27 +01:00