summaryrefslogtreecommitdiff
path: root/yarns/9000-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-01-24 18:24:15 +0000
committerLars Wirzenius <liw@liw.fi>2014-01-24 18:24:15 +0000
commitfbc4ec886a8838cf3188d95e0ea74e104ba99f1b (patch)
treec4cb798f97babb2e256cc085c759d6e10145f080 /yarns/9000-implements.yarn
parentbc0180fc5746f8f8de0453f6dc495af35c0ca837 (diff)
downloadobnam-fbc4ec886a8838cf3188d95e0ea74e104ba99f1b.tar.gz
Convert anyone-list-clients cmdtest to yarn
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r--yarns/9000-implements.yarn10
1 files changed, 10 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn
index 06555a1f..b8733e39 100644
--- a/yarns/9000-implements.yarn
+++ b/yarns/9000-implements.yarn
@@ -261,6 +261,16 @@ repository anymore.
exit 1
fi
+We may also want to make sure we do see a client.
+
+ IMPLEMENTS THEN user (\S+) can see user (\S+) in repository (\S+)
+ if ! run_obnam "$MATCH_1" -r "$DATADIR/$MATCH_3" clients |
+ grep -x "$MATCH_2"
+ then
+ echo "Client $MATCH_2 is not in repository $MATCH_3" 1>&2
+ exit 1
+ fi
+
Checks on results of an attempted operation
-------------------------------------------