diff options
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/9000-implements.yarn | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn index 364c6bb9..5591370f 100644 --- a/yarns/9000-implements.yarn +++ b/yarns/9000-implements.yarn @@ -256,6 +256,15 @@ that is unpredictable. run_obnam "$client" restore -r "$repo" \ --to "$to" --generation "$id" +We want to match the stdout against a regular expression. + + IMPLEMENTS THEN the output matches "(.+)" + echo ----------------------- + echo stdout being matched: + cat "$DATADIR/attempt.stdout" + echo ----------------------- + attempt_matches stdout "$MATCH_1" + We may also need to attempt a restore in a situation when we expect it to fail. |