nixpkgs/nixos/lib
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
..
make-options-doc nixos/make-options-doc: treat missing descriptions as errors by default 2022-01-02 19:46:13 +01:00
test-driver nixos/tests: add prompt to shell_interact() 2022-01-15 07:07:06 +01:00
build-vms.nix nixosTest: Provide system.build.networkConfig 2021-10-17 23:56:52 +02:00
eval-cacheable-options.nix nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
eval-config.nix lib/nixos/eval-config.nix: Fix extraArgs 2021-12-10 12:55:30 +01:00
from-env.nix
make-channel.nix
make-disk-image.nix make-disk-image: Make additionalPaths work with Nix 2.4 2021-11-29 21:11:15 +01:00
make-ext4-fs.nix nixos/lib/make-ext4-fs: Fix: `resize2fs -M' can leave insufficient slack 2021-05-31 21:35:51 +02:00
make-iso9660-image.nix nixos: use nativeBuildInputs in make- iso9660-image and system-tarball 2020-11-18 14:05:30 +01:00
make-iso9660-image.sh make-iso9660-image: produce stable GPT disk GUID 2020-07-20 11:16:59 +02:00
make-squashfs.nix make-squashfs: use $NIX_BUILD_CORES or 48 cores if above 48 2021-12-08 19:23:31 +02:00
make-system-tarball.nix nixos: use nativeBuildInputs in make- iso9660-image and system-tarball 2020-11-18 14:05:30 +01:00
make-system-tarball.sh use closure-info for building system tarball 2018-11-07 12:52:53 +08:00
make-zfs-image.nix treewide: refactor isi686 && isx86_64 -> isx86 2021-11-20 17:50:41 -08:00
qemu-common.nix lib/qemu-common: Add serial device name for RISC-V 2022-01-09 15:29:52 -08:00
systemd-lib.nix Merge branch 'staging-next' into staging 2021-12-11 14:01:19 -05:00
systemd-unit-options.nix Move systemd-lib.nix and systemd-unit-options.nix into utils 2021-11-20 17:52:29 -05:00
testing-python.nix nixos/test-driver: also passthru driverInteractive 2022-01-04 14:52:37 +01:00
utils.nix Move systemd-lib.nix and systemd-unit-options.nix into utils 2021-11-20 17:52:29 -05:00