···2424you to inspect the state of the VMs after the test (e.g. to debug the
2525test script).
26262727+## Reuse VM state {#sec-nixos-test-reuse-vm-state}
2828+2729You can re-use the VM states coming from a previous run by setting the
2830`--keep-vm-state` flag.
2931···33353436The machine state is stored in the `$TMPDIR/vm-state-machinename`
3537directory.
3838+3939+## Interactive-only test configuration {#sec-nixos-test-interactive-configuration}
4040+4141+You can add configuration that is specific to the interactive test driver, by adding to the `interactive` option.
4242+`interactive` is a copy of the regular test options namespace, and is used by the interactive test driver.
4343+It can be helpful for troubleshooting changes that you don't want to apply to regular test runs.
···2525 completion. This allows you to inspect the state of the VMs after
2626 the test (e.g. to debug the test script).
2727 </para>
2828- <para>
2929- You can re-use the VM states coming from a previous run by setting
3030- the <literal>--keep-vm-state</literal> flag.
3131- </para>
3232- <programlisting>
2828+ <section xml:id="sec-nixos-test-reuse-vm-state">
2929+ <title>Reuse VM state</title>
3030+ <para>
3131+ You can re-use the VM states coming from a previous run by setting
3232+ the <literal>--keep-vm-state</literal> flag.
3333+ </para>
3434+ <programlisting>
3335$ ./result/bin/nixos-test-driver --keep-vm-state
3436</programlisting>
3535- <para>
3636- The machine state is stored in the
3737- <literal>$TMPDIR/vm-state-machinename</literal> directory.
3838- </para>
3737+ <para>
3838+ The machine state is stored in the
3939+ <literal>$TMPDIR/vm-state-machinename</literal> directory.
4040+ </para>
4141+ </section>
4242+ <section xml:id="sec-nixos-test-interactive-configuration">
4343+ <title>Interactive-only test configuration</title>
4444+ <para>
4545+ You can add configuration that is specific to the interactive test
4646+ driver, by adding to the <literal>interactive</literal> option.
4747+ <literal>interactive</literal> is a copy of the regular test
4848+ options namespace, and is used by the interactive test driver. It
4949+ can be helpful for troubleshooting changes that you don’t want to
5050+ apply to regular test runs.
5151+ </para>
5252+ </section>
3953</section>