diff options
| author | Carl Moden | 2014-10-25 21:07:52 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-26 11:32:35 +0000 |
| commit | 46e72e38bc036948e0de3cfa65146dc36a0b90bb (patch) | |
| tree | 82eea7260182a36fa8ae75254f5d16dfdb3909e0 /Library/Formula | |
| parent | afd8a9dab6be06f19f0ede55dbc6977fa78a3d6c (diff) | |
| download | homebrew-46e72e38bc036948e0de3cfa65146dc36a0b90bb.tar.bz2 | |
git-annex: test using built in test suite.
Changed the homegrown test suite to the extensive built in
one in git annex.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/git-annex.rb | 19 |
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 |
