diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-01-24 18:24:15 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-01-24 18:24:15 +0000 |
commit | fbc4ec886a8838cf3188d95e0ea74e104ba99f1b (patch) | |
tree | c4cb798f97babb2e256cc085c759d6e10145f080 /yarns/9000-implements.yarn | |
parent | bc0180fc5746f8f8de0453f6dc495af35c0ca837 (diff) | |
download | obnam-fbc4ec886a8838cf3188d95e0ea74e104ba99f1b.tar.gz |
Convert anyone-list-clients cmdtest to yarn
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r-- | yarns/9000-implements.yarn | 10 |
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 ------------------------------------------- |