tests-clay


Log

Author Commit Date CI Message
Brodie Rao ce8cd006 2011-09-07T15:32:44 fileops/repository: create (most) directories with 0777 permissions To further match how Git behaves, this change makes most of the directories libgit2 creates in a git repo have a file mode of 0777. Specifically: - Intermediate directories created with git_futils_mkpath2file() have 0777 permissions. This affects odb_loose, reflog, and refs. - The top level folder for bare repos is created with 0777 permissions. - The top level folder for non-bare repos is created with 0755 permissions. - /objects/info/, /objects/pack/, /refs/heads/, and /refs/tags/ are created with 0777 permissions. Additionally, the following changes have been made: - fileops functions that create intermediate directories have grown a new dirmode parameter. The only exception to this is filebuf's lock_file(), which unconditionally creates intermediate directories with 0777 permissions when GIT_FILEBUF_FORCE is set. - The test runner now sets the umask to 0 before running any tests. This ensurses all file mode checks are consistent across systems. - t09-tree.c now does a directory permissions check. I've avoided adding this check to other tests that might reuse existing directories from the prefabricated test repos. Because they're checked into the repo, they have 0755 permissions. - Other assorted directories created by tests have 0777 permissions.
nulltoken 3fa735ca 2011-10-13T23:17:19 tree: Add git_tree_frompath() which, given a relative path to a tree entry, retrieves the tree object containing this tree entry
nulltoken 34aff010 2011-10-12T14:06:23 oid: Add git_oid_streq() which checks if an oid and an hex formatted string are equal
schu 1d33bf9d 2011-10-07T22:57:44 tests-clay: add a readme file Signed-off-by: schu <schu-github@schulog.org>
schu 681008c7 2011-10-07T22:31:08 tests-clay: update clay The clay script didn't match the latest version from upstream. Additionaly, add core/strtol.c to complete porting the core tests to clay. Signed-off-by: schu <schu-github@schulog.org>
Vicent Marti dfd0abda 2011-10-01T13:25:24 clay: Fix compilation under MSVC
Vicent Marti d02a7d83 2011-09-28T18:57:32 Update Clay
Carlos Martín Nieto 40fe5fbe 2011-09-22T22:50:36 Make repo config loading automatic or completely explicit git_repository_config wants to take the global and system paths again so that one can be explicit if needed. The git_repository_config_autoload function is provided for the cases when it's good enough for the library to guess where those files are located. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Paul Betts 76c15b71 2011-09-22T12:26:23 Revert changes to clay
Paul Betts e1b86444 2011-09-21T11:17:30 Rewrite getenv to use Win32 version on Windows
Vicent Marti a5888127 2011-09-21T01:14:57 Fix clay under MinGW
Vicent Marti 468d0d1e 2011-09-19T06:32:56 Fix `repository_config` call in network::remotes
Carlos Martín Nieto 3a2626f3 2011-09-13T01:13:41 Add remotes test to clay Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Vicent Marti 2014021b 2011-09-19T05:41:00 Backport t18 fixes to Clay
Vicent Marti 87d9869f 2011-09-19T03:34:49 Tabify everything There were quite a few places were spaces were being used instead of tabs. Try to catch them all. This should hopefully not break anything. Except for `git blame`. Oh well.
Vicent Marti 934fa904 2011-09-16T19:48:57 Update Clay script
Vicent Marti df297a1f 2011-09-16T19:42:44 Fix Clay compilation under Win32
Vicent Marti fe4aa206 2011-09-16T05:47:18 Regenerate test suite
Vicent Marti a5f8c1bd 2011-09-16T05:46:18 Add missing prototypes
Vicent Marti 11385c3c 2011-09-16T05:12:56 Add sample "Status" clay tests
Vicent Marti f1558d9b 2011-09-15T01:12:46 Come out and Clay