diff options
author | Erik Arvstedt <erik.arvstedt@gmail.com> | 2018-09-17 12:58:13 +0200 |
---|---|---|
committer | Erik Arvstedt <erik.arvstedt@gmail.com> | 2018-09-17 13:08:08 +0200 |
commit | 6e203af3998171548c5febb0cd52a061bae82cf8 (patch) | |
tree | 849ecfc937bbc0d8458469e06fdec8e0f9c7c727 /nixos | |
parent | b0956b0ae3e89549a13b9a47dc3cbc5eba5f10af (diff) |
nixos tests doc: add example statement
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/development/running-nixos-tests-interactively.xml | 1 |
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 > startAll > testScript > $machine->succeed("touch /tmp/foo") +> 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. |