summaryrefslogtreecommitdiff
path: root/tests-clay/refs/crashes.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-01-24 20:35:15 -0800
committerVicent Martí <tanoku@gmail.com>2012-01-24 20:35:15 -0800
commit3fd1520cd4d8b4d6b6493a7d3dc393ffd9abf1db (patch)
tree51b29f5d8ffeb31ba751ab2a099e4f2a32d4be07 /tests-clay/refs/crashes.c
parenta9fe8ae0ee1ddcc289fad53f1a671f02a3e9a88f (diff)
downloadlibgit2-3fd1520cd4d8b4d6b6493a7d3dc393ffd9abf1db.tar.gz
Rename the Clay test suite to Clar
Clay is the name of a programming language on the makings, and we want to avoid confusions. Sorry for the huge diff!
Diffstat (limited to 'tests-clay/refs/crashes.c')
-rw-r--r--tests-clay/refs/crashes.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests-clay/refs/crashes.c b/tests-clay/refs/crashes.c
deleted file mode 100644
index 339d4f8e1..000000000
--- a/tests-clay/refs/crashes.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "clay_libgit2.h"
-
-void test_refs_crashes__double_free(void)
-{
- git_repository *repo;
- git_reference *ref, *ref2;
- const char *REFNAME = "refs/heads/xxx";
-
- cl_git_pass(git_repository_open(&repo, cl_fixture("testrepo.git")));
- cl_git_pass(git_reference_create_symbolic(&ref, repo, REFNAME, "refs/heads/master", 0));
- cl_git_pass(git_reference_lookup(&ref2, repo, REFNAME));
- cl_git_pass(git_reference_delete(ref));
- /* reference is gone from disk, so reloading it will fail */
- cl_must_fail(git_reference_reload(ref2));
-
- git_repository_free(repo);
-}