diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-06-15 18:04:41 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-09-24 17:38:08 +0100 |
commit | 6e2f7539893ebabc92ccb1421a84fccf09b2052b (patch) | |
tree | 2faee1a33fff8db4654b09f14bd56006a4fbd511 /nixos/doc/manual/development/running-nixos-tests-interactively.section.md | |
parent | b0c781cc4136e4678db1864875750c916b78ad33 (diff) | |
download | nixpkgs-6e2f7539893ebabc92ccb1421a84fccf09b2052b.tar nixpkgs-6e2f7539893ebabc92ccb1421a84fccf09b2052b.tar.gz nixpkgs-6e2f7539893ebabc92ccb1421a84fccf09b2052b.tar.bz2 nixpkgs-6e2f7539893ebabc92ccb1421a84fccf09b2052b.tar.lz nixpkgs-6e2f7539893ebabc92ccb1421a84fccf09b2052b.tar.xz nixpkgs-6e2f7539893ebabc92ccb1421a84fccf09b2052b.tar.zst nixpkgs-6e2f7539893ebabc92ccb1421a84fccf09b2052b.zip |
nixos/doc/running-nixos-tests-interactively: Describe interactive option
Diffstat (limited to 'nixos/doc/manual/development/running-nixos-tests-interactively.section.md')
-rw-r--r-- | nixos/doc/manual/development/running-nixos-tests-interactively.section.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/doc/manual/development/running-nixos-tests-interactively.section.md b/nixos/doc/manual/development/running-nixos-tests-interactively.section.md index a1431859ff5..6170057442d 100644 --- a/nixos/doc/manual/development/running-nixos-tests-interactively.section.md +++ b/nixos/doc/manual/development/running-nixos-tests-interactively.section.md @@ -24,6 +24,8 @@ back into the test driver command line upon its completion. This allows you to inspect the state of the VMs after the test (e.g. to debug the test script). +## Reuse VM state {#sec-nixos-test-reuse-vm-state} + You can re-use the VM states coming from a previous run by setting the `--keep-vm-state` flag. @@ -33,3 +35,9 @@ $ ./result/bin/nixos-test-driver --keep-vm-state The machine state is stored in the `$TMPDIR/vm-state-machinename` directory. + +## Interactive-only test configuration {#sec-nixos-test-interactive-configuration} + +You can add configuration that is specific to the interactive test driver, by adding to the `interactive` option. +`interactive` is a copy of the regular test options namespace, and is used by the interactive test driver. +It can be helpful for troubleshooting changes that you don't want to apply to regular test runs. |