summaryrefslogtreecommitdiff
path: root/yarns/900-implements.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r--yarns/900-implements.yarn11
1 files changed, 10 insertions, 1 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index 9806619..9f3d92b 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -50,7 +50,7 @@ code and stderr.
IMPLEMENTS WHEN user attempts to run vmdebootstrap (.*)
if PYTHONPATH="$SRCDIR" "$SRCDIR/bin/vmdebootstrap" \
- $MATCH_1 2> vmdebootstrap.stderr
+ $MATCH_1 2> vmdebootstrap.stderr 1>vmdebootstrap.stdout
then
echo 0 > vmdebootstrap.exit
else
@@ -71,6 +71,15 @@ Check the stderr of the attempted vmdebootstrap run.
IMPLEMENTS THEN vmdebootstrap wrote an error message matching (.+)
grep -P -e "$MATCH_1" vmdebootstrap.stderr
+Check the stdout of the dry-run vmdebootstrap run.
+
+ IMPLEMENTS THEN vmdebootstrap wrote a message matching (.+)
+ grep -P -e "$MATCH_1" vmdebootstrap.stdout
+
+Exclude a pattern from the stdout of the dry-run vmdebootstrap run.
+
+ IMPLEMENTS THEN vmdebootstrap wrote a message not matching (.+)
+ grep -P -v -e "$MATCH_1" vmdebootstrap.stdout
## Static tests on disk images