Jörg Thalheim
|
f472e52aa6
|
nixos/tests: add prompt to shell_interact()
Example session:
>>> start_all()
>>> machines[0].shell_interact()
client: waiting for the VM to finish booting
client: connected to guest root shell
client: (connecting took 0.00 seconds)
(finished: waiting for the VM to finish booting, in 0.05 seconds)
client: Terminal is ready (there is no initial prompt):
$ ls -la
total 39
drwxrwxrwt 11 root root 4096 Jan 15 06:06 .
drwxr-xr-x 17 root root 4096 Jan 15 06:06 ..
drwxrwxrwt 2 root root 4096 Jan 15 06:06 .font-unix
drwxrwxrwt 2 root root 4096 Jan 15 06:06 .ICE-unix
drwx------ 2 root root 2 Jan 12 20:19 shared
drwx------ 3 root root 4096 Jan 15 06:06 systemd-private-b8f21699ea684491926859758de41975-nscd.service-txgYVZ
drwx------ 3 root root 4096 Jan 15 06:06 systemd-private-b8f21699ea684491926859758de41975-systemd-logind.service-U3GmlL
drwxrwxrwt 2 root root 4096 Jan 15 06:06 .Test-unix
drwxrwxrwt 2 root root 4096 Jan 15 06:06 .X11-unix
drwxr-xr-x 2 root root 2 Jan 15 06:06 xchg
drwxrwxrwt 2 root root 4096 Jan 15 06:06 .XIM-unix
|
2022-01-15 07:07:06 +01:00 |
|
Patrick Hilhorst
|
793a2f50f1
|
nixos/test-driver: remove unused imports, add pylint unused-import check
|
2022-01-02 23:12:21 +01:00 |
|
Patrick Hilhorst
|
a2f5092867
|
nixos/test-driver: simplify logic, reduce interaction surface
|
2022-01-02 22:52:17 +01:00 |
|
Patrick Hilhorst
|
4e1556ed4d
|
nixos/test-driver: add polling_condition
|
2022-01-01 23:17:32 +01:00 |
|
Marijan Petričević
|
ab693de868
|
nixos/test-driver: make the test-driver a python package
|
2021-12-10 12:27:45 +00:00 |
|