3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/lib/test-driver
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
..
log2html.xsl nixos/test-reports: use local copy of jquery 2014-09-07 15:47:59 +02:00
logfile.css
Logger.pm nixos/test-driver/Logger: Replace invalid UTF-8 2016-05-26 14:24:33 +02:00
Machine.pm nixos tests: waitUntilTTYMatches: Log TTY contents on last try 2017-06-20 20:57:39 -04:00
test-driver.pl NixOS VM tests: Don't create a setgid group in vde_switch 2017-06-07 11:57:36 +02:00
treebits.js