summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-10-01 23:32:36 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-10-03 16:55:53 -0700
commitda84764e97ead919bee7fb02d469c25a6b03ab63 (patch)
tree748059d635e1f55162cdafc94e9100b573f88fa7 /var
parentc74cd63389eff149d8c0db4f7d68d173a72b48b3 (diff)
downloadspack-da84764e97ead919bee7fb02d469c25a6b03ab63.tar.gz
spack-da84764e97ead919bee7fb02d469c25a6b03ab63.tar.bz2
spack-da84764e97ead919bee7fb02d469c25a6b03ab63.tar.xz
spack-da84764e97ead919bee7fb02d469c25a6b03ab63.zip
Add test case for git fetching.
Diffstat (limited to 'var')
-rw-r--r--var/spack/mock_packages/git-test/package.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/mock_packages/git-test/package.py b/var/spack/mock_packages/git-test/package.py
new file mode 100644
index 0000000000..689185463c
--- /dev/null
+++ b/var/spack/mock_packages/git-test/package.py
@@ -0,0 +1,10 @@
+from spack import *
+
+class GitTest(Package):
+ """Mock package that uses git for fetching."""
+ homepage = "http://www.git-fetch-example.com"
+
+ version('git', git='to-be-filled-in-by-test')
+
+ def install(self, spec, prefix):
+ pass