diff options
author | David Arnold <dar@xoe.solutions> | 2021-06-06 12:00:12 -0500 |
---|---|---|
committer | David Arnold <dgx.arnold@gmail.com> | 2021-08-05 19:07:11 -0500 |
commit | 926fb9396881202e727e5ec1fbf609b64455b388 (patch) | |
tree | ed0325450bfa2982cbc008edc6b5b70a78458985 /nixos/doc/manual/from_md/development | |
parent | 077b2825cd3328f83dbc1774ce62751dae4cb719 (diff) | |
download | nixpkgs-926fb9396881202e727e5ec1fbf609b64455b388.tar nixpkgs-926fb9396881202e727e5ec1fbf609b64455b388.tar.gz nixpkgs-926fb9396881202e727e5ec1fbf609b64455b388.tar.bz2 nixpkgs-926fb9396881202e727e5ec1fbf609b64455b388.tar.lz nixpkgs-926fb9396881202e727e5ec1fbf609b64455b388.tar.xz nixpkgs-926fb9396881202e727e5ec1fbf609b64455b388.tar.zst nixpkgs-926fb9396881202e727e5ec1fbf609b64455b388.zip |
nixos/tests/test-driver: normalise test driver entrypoint(s)
Previously the driver was configured exclusively through convoluted environment variables. Now the driver's defaults are configured through env variables. Some additional concerns are in the github comments of this PR.
Diffstat (limited to 'nixos/doc/manual/from_md/development')
-rw-r--r-- | nixos/doc/manual/from_md/development/running-nixos-tests-interactively.section.xml | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/nixos/doc/manual/from_md/development/running-nixos-tests-interactively.section.xml b/nixos/doc/manual/from_md/development/running-nixos-tests-interactively.section.xml index a2030e9c073..17003cbcbfd 100644 --- a/nixos/doc/manual/from_md/development/running-nixos-tests-interactively.section.xml +++ b/nixos/doc/manual/from_md/development/running-nixos-tests-interactively.section.xml @@ -6,7 +6,7 @@ </para> <programlisting> $ nix-build nixos/tests/login.nix -A driverInteractive -$ ./result/bin/nixos-test-driver +$ ./result/bin/nixos-test-driver --interactive starting VDE switch for network 1 > </programlisting> @@ -26,22 +26,11 @@ starting VDE switch for network 1 the test (e.g. to debug the test script). </para> <para> - To just start and experiment with the VMs, run: - </para> - <programlisting> -$ nix-build nixos/tests/login.nix -A driverInteractive -$ ./result/bin/nixos-run-vms -</programlisting> - <para> - The script <literal>nixos-run-vms</literal> starts the virtual - machines defined by test. - </para> - <para> You can re-use the VM states coming from a previous run by setting the <literal>--keep-vm-state</literal> flag. </para> <programlisting> -$ ./result/bin/nixos-run-vms --keep-vm-state +$ ./result/bin/nixos-test-driver --interactive --keep-vm-state </programlisting> <para> The machine state is stored in the |