summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/development
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2022-01-07 16:04:43 +0100
committerGitHub <noreply@github.com>2022-01-07 16:04:43 +0100
commit0c3f1cf4206e12e1e8e846151c652284850387c2 (patch)
tree09b82c6bc697ef1a2f318092aa59a67643636991 /nixos/doc/manual/from_md/development
parent269dacdf88dafd2f9105f2ee2f857ff51d3509f6 (diff)
parentd4dc638d77fc31aaa3000090e50a69fa6096fb86 (diff)
downloadnixpkgs-0c3f1cf4206e12e1e8e846151c652284850387c2.tar
nixpkgs-0c3f1cf4206e12e1e8e846151c652284850387c2.tar.gz
nixpkgs-0c3f1cf4206e12e1e8e846151c652284850387c2.tar.bz2
nixpkgs-0c3f1cf4206e12e1e8e846151c652284850387c2.tar.lz
nixpkgs-0c3f1cf4206e12e1e8e846151c652284850387c2.tar.xz
nixpkgs-0c3f1cf4206e12e1e8e846151c652284850387c2.tar.zst
nixpkgs-0c3f1cf4206e12e1e8e846151c652284850387c2.zip
Merge pull request #153273 from Synthetica9/passthru-driverInteractive
Diffstat (limited to 'nixos/doc/manual/from_md/development')
-rw-r--r--nixos/doc/manual/from_md/development/running-nixos-tests-interactively.section.xml14
1 files changed, 7 insertions, 7 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 17003cbcbfd..8348ab56deb 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
@@ -5,19 +5,19 @@
     useful when developing or debugging a test:
   </para>
   <programlisting>
-$ nix-build nixos/tests/login.nix -A driverInteractive
+$ nix-build . -A nixosTests.login.driverInteractive
 $ ./result/bin/nixos-test-driver --interactive
-starting VDE switch for network 1
-&gt;
+[...]
+&gt;&gt;&gt;
 </programlisting>
   <para>
     You can then take any Python statement, e.g.
   </para>
   <programlisting language="python">
-&gt; start_all()
-&gt; test_script()
-&gt; machine.succeed(&quot;touch /tmp/foo&quot;)
-&gt; print(machine.succeed(&quot;pwd&quot;)) # Show stdout of command
+&gt;&gt;&gt; start_all()
+&gt;&gt;&gt; test_script()
+&gt;&gt;&gt; machine.succeed(&quot;touch /tmp/foo&quot;)
+&gt;&gt;&gt; print(machine.succeed(&quot;pwd&quot;)) # Show stdout of command
 </programlisting>
   <para>
     The function <literal>test_script</literal> executes the entire test