summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-03-06 15:37:59 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-03-06 15:37:59 +0000
commit9fc3f6635d57fa64e78b81aa1bdea12d2c0ba8d0 (patch)
tree0c795e954256bb1769769a4726bbcb846de5b04d /testing
parent14b50b9543181de6bf154dcf0edb385616506bbc (diff)
downloadgitano-9fc3f6635d57fa64e78b81aa1bdea12d2c0ba8d0.tar.gz
adds support for force-push in IMPLEMENTS
Diffstat (limited to 'testing')
-rw-r--r--testing/library.yarn4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/library.yarn b/testing/library.yarn
index 5547faf..c3803b4 100644
--- a/testing/library.yarn
+++ b/testing/library.yarn
@@ -75,8 +75,8 @@ Repository access
$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,? )?pushes ([^ ]+) to ([^ ]+)
- if $GTT push "$MATCH_1" "$MATCH_2" "$MATCH_4" "$MATCH_5" \
+ 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} \
>"$DATADIR/stdout" 2>"$DATADIR/stderr"; then
test "$MATCH_3" = ""
fi