diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2015-10-28 17:08:18 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2015-10-28 17:08:18 +0000 |
commit | 243654496f8e5ec9ef7940696c4155624339a23a (patch) | |
tree | 083935ec4c106e4192f20d593c496cb47aaf30cd | |
parent | c15bbd9c01f18fa4ff57eeb0879048b8c1375d48 (diff) | |
download | gitano-git-upload-archive-plugin.tar.bz2 |
yarns: Add test for git-upload-archive commandgit-upload-archive-plugin
This is used by git-archive to get the server to generate a tarball.
-rw-r--r-- | Makefile | 11 | ||||
-rw-r--r-- | testing/02-commands-git-upload-archive.yarn | 12 |
2 files changed, 18 insertions, 5 deletions
@@ -32,11 +32,12 @@ TEST_BIN_NAMES := gitano-test-tool TESTS := 01-basics 02-commands-as 02-commands-config 02-commands-copy \ 02-commands-count-objects 02-commands-create 02-commands-destroy \ - 02-commands-fsck 02-commands-gc 02-commands-graveyard \ - 02-commands-group 02-commands-help 02-commands-ls 02-commands-readme \ - 02-commands-rename 02-commands-set-description 02-commands-set-head \ - 02-commands-set-owner 02-commands-sshkey 02-commands-user \ - 02-commands-whoami + 02-commands-fsck 02-commands-gc 02-commands-git-upload-archive \ + 02-commands-graveyard 02-commands-group 02-commands-help \ + 02-commands-ls 02-commands-readme 02-commands-rename \ + 02-commands-set-description 02-commands-set-head 02-commands-set-owner \ + 02-commands-sshkey 02-commands-user 02-commands-whoami + MODS := gitano \ diff --git a/testing/02-commands-git-upload-archive.yarn b/testing/02-commands-git-upload-archive.yarn new file mode 100644 index 0000000..a16a0ca --- /dev/null +++ b/testing/02-commands-git-upload-archive.yarn @@ -0,0 +1,12 @@ +<!-- -*- markdown -*- --> +git archive \-\-remote support with git-upload-archive +====================================================== + +An appropriately configured git server +can also serve the contents of a git repository directly through git-archive, +which is useful for providing snapshots. + + SCENARIO Performing git-archive operations + GIVEN a standard instance + WHEN testinstance adminkey uses git archive to extract the tree of gitano-admin HEAD to test + THEN test/site.conf contains site_name "Gitano Test Instance" |