diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-02-12 14:20:10 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-02-12 14:20:10 +0000 |
commit | 6380cd5f376453b7c61100b2ca8fd173471b72a1 (patch) | |
tree | dfab277c1a5e290d1cc98691c895ac8ba193d10e /testing | |
parent | 8f985b3a7421cdbb3d5199dd6572251169c5c2c9 (diff) | |
download | gitano-6380cd5f376453b7c61100b2ca8fd173471b72a1.tar.gz |
adds the testing ability to apply a content patch
Diffstat (limited to 'testing')
-rw-r--r-- | testing/library.yarn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/library.yarn b/testing/library.yarn index 7db33de..b277777 100644 --- a/testing/library.yarn +++ b/testing/library.yarn @@ -180,6 +180,13 @@ Admin repo manipulation $GTT rungit $MATCH_1 $MATCH_3 commit --allow-empty -m "Make an empty commit" $GTT push $MATCH_1 $MATCH_2 $MATCH_3 gitano-admin.git > $DATADIR/stdout 2>$DATADIR/stderr + IMPLEMENTS WHEN ([a-z][a-z0-9]*) applies ([^ ]+) in ([^ ]+) + $GTT rungit $MATCH_1 $MATCH_3 apply --cached - <"testing/content-patches/$MATCH_2" \ + >$DATADIR/stdout 2>$DATADIR/stderr + $GTT rungit $MATCH_1 $MATCH_3 commit --allow-empty -m "Apply $MATCH_2 content change" \ + >>$DATADIR/stdout 2>>$DATADIR/stderr + + Specific commands ----------------- |