3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/lib
Graham Christensen 348785eec0
nixos tests: waitUntilTTYMatches: Log TTY contents on last try
If the test has not passed yet, on the last attempt it now outputs:

    machine: Last chance to match /logine: / on TTY2, which currently contains:
    machine: running command: fold -w$(stty -F /dev/tty2 size | awk '{print $2}') /dev/vcs2
    machine: exit status 0
    machine:

    <<< Welcome to NixOS 17.09.git.a804ef4 (x86_64) - tty2 >>>

    machine login:

to help debug the problem. Notice the "logine" typo in my check.
2017-06-20 20:57:39 -04:00
..
test-driver nixos tests: waitUntilTTYMatches: Log TTY contents on last try 2017-06-20 20:57:39 -04:00
build-vms.nix Use only one build of qemu in VM tests 2016-12-20 10:52:46 +01:00
eval-config.nix eval-config.nix: configuration->configuration.nix 2017-01-04 19:15:47 +01:00
from-env.nix
make-channel.nix
make-disk-image.nix make-disk-image: change to be less VM-centric 2017-04-24 02:30:00 +00:00
make-ext4-fs.nix
make-iso9660-image.nix
make-iso9660-image.sh
make-squashfs.nix Tune mksquashfs for smaller isos. 2016-12-28 16:07:16 +01:00
make-system-tarball.nix
make-system-tarball.sh make-system-tarball.sh: use numeric uids 2017-01-01 06:03:05 +01:00
qemu-flags.nix
testing.nix nixos/testing: Improve quality of OCR 2017-04-11 03:21:53 +02:00
utils.nix nixos: generalize copy-paste from stage-1 and zfs to utils 2016-08-23 18:14:06 +00:00