aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/git-annex.rb19
1 files changed, 1 insertions, 18 deletions
diff --git a/Library/Formula/git-annex.rb b/Library/Formula/git-annex.rb
index e191d8206..41c5b7b8f 100644
--- a/Library/Formula/git-annex.rb
+++ b/Library/Formula/git-annex.rb
@@ -43,23 +43,6 @@ class GitAnnex < Formula
test do
# make sure git can find git-annex
ENV.prepend_path "PATH", bin
- # create a first git repository with an annex
- mkdir "my_annex" do
- system "git", "init"
- system "git", "annex", "init", "my_annex"
- cp bin/"git-annex", "bigfile"
- system "git", "annex", "add", "bigfile"
- system "git", "commit", "-am", "big file added"
- assert File.symlink? "bigfile"
- end
- # and propagate its content to another
- system "git", "clone", "my_annex", "my_annex_clone"
- Dir.chdir "my_annex_clone" do
- assert !File.file?("bigfile")
- system "git", "annex", "get", "bigfile"
- assert File.file? "bigfile"
- end
- # make test files writable so homebrew can drop them
- chmod_R 0777, testpath
+ system "git", "annex", "test"
end
end