about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorErik Arvstedt <erik.arvstedt@gmail.com>2018-09-17 12:58:13 +0200
committerErik Arvstedt <erik.arvstedt@gmail.com>2018-09-17 13:08:08 +0200
commit6e203af3998171548c5febb0cd52a061bae82cf8 (patch)
tree849ecfc937bbc0d8458469e06fdec8e0f9c7c727 /nixos
parentb0956b0ae3e89549a13b9a47dc3cbc5eba5f10af (diff)
nixos tests doc: add example statement
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/development/running-nixos-tests-interactively.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/doc/manual/development/running-nixos-tests-interactively.xml b/nixos/doc/manual/development/running-nixos-tests-interactively.xml
index 862b364a6d79b..4680433bc9972 100644
--- a/nixos/doc/manual/development/running-nixos-tests-interactively.xml
+++ b/nixos/doc/manual/development/running-nixos-tests-interactively.xml
@@ -19,6 +19,7 @@ starting VDE switch for network 1
 &gt; startAll
 &gt; testScript
 &gt; $machine->succeed("touch /tmp/foo")
+&gt; print($machine->succeed("pwd"), "\n") # Show stdout of command
 </screen>
   The function <command>testScript</command> executes the entire test script
   and drops you back into the test driver command line upon its completion.