diff options
author | Richard Maw <richard.maw@gmail.com> | 2017-08-02 19:28:24 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2017-08-03 14:26:13 +0100 |
commit | 4ee7ecc2f735188b0aa06c87f4f62279b328b116 (patch) | |
tree | f13b4e08174eb3574477b9493682eaad05cc203c /testing/library.yarn | |
parent | 0440e6e4bd2b616552c611f2b118cfeb23b2b0ac (diff) | |
download | gitano-4ee7ecc2f735188b0aa06c87f4f62279b328b116.tar.gz |
Yarn for config auth
Diffstat (limited to 'testing/library.yarn')
-rw-r--r-- | testing/library.yarn | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/library.yarn b/testing/library.yarn index e25f6ac..cc03122 100644 --- a/testing/library.yarn +++ b/testing/library.yarn @@ -71,9 +71,11 @@ of the user inside Gitano. Repository access ----------------- - IMPLEMENTS WHEN ([a-z][a-z0-9]*),? using ([a-z][a-z0-9]*),? clones ([^ ]+) as ([^ ]+)( with depth (\d+))? - $GTT clone "$MATCH_1" "$MATCH_2" "$MATCH_3" "$MATCH_4" ${MATCH_5:+ --no-local --depth="$MATCH_6"} \ - >"$DATADIR/stdout" 2>"$DATADIR/stderr" + IMPLEMENTS WHEN ([a-z][a-z0-9]*),? using ([a-z][a-z0-9]*),? (expecting failure,? )?clones ([^ ]+) as ([^ ]+)( with depth (\d+))? + if $GTT clone "$MATCH_1" "$MATCH_2" "$MATCH_4" "$MATCH_5" ${MATCH_6:+ --no-local --depth="$MATCH_7"} \ + >"$DATADIR/stdout" 2>"$DATADIR/stderr"; then + test "$MATCH_3" = "" + fi IMPLEMENTS WHEN ([a-z][a-z0-9]*),? using ([a-z][a-z0-9]*),? (expecting failure,? )?(force.)?pushes ([^ ]+) to ([^ ]+) if $GTT push "$MATCH_1" "$MATCH_2" "$MATCH_5" "$MATCH_6" ${MATCH_4:+--force} \ |