]> Pileus Git - ~andy/git/commitdiff
Merge branch 'js/test-ln-s-add'
authorJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2013 23:02:18 +0000 (16:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2013 23:02:18 +0000 (16:02 -0700)
Many tests that check the behaviour of symbolic links stored in the
index or the tree objects do not have to be skipped on a filesystem
that lack symbolic link support.

* js/test-ln-s-add:
  t4011: remove SYMLINKS prerequisite
  t6035: use test_ln_s_add to remove SYMLINKS prerequisite
  t3509, t4023, t4114: use test_ln_s_add to remove SYMLINKS prerequisite
  t3100: use test_ln_s_add to remove SYMLINKS prerequisite
  t3030: use test_ln_s_add to remove SYMLINKS prerequisite
  t0000: use test_ln_s_add to remove SYMLINKS prerequisite
  tests: use test_ln_s_add to remove SYMLINKS prerequisite (trivial cases)
  tests: introduce test_ln_s_add
  t3010: modernize style
  test-chmtime: Fix exit code on Windows

1  2 
t/README
test-chmtime.c

diff --cc t/README
Simple merge
diff --cc test-chmtime.c
index 923bf327f8ac8243c59292879a60e1f7364b6070,2e601a80384688cc5b0efe5bf066b86bcbf2798e..0df748784bb7f6b6f286dd37ada293df17cffeee
@@@ -84,10 -84,10 +84,10 @@@ int main(int argc, char *argv[]
                if (stat(argv[i], &sb) < 0) {
                        fprintf(stderr, "Failed to stat %s: %s\n",
                                argv[i], strerror(errno));
-                       return -1;
+                       return 1;
                }
  
 -#ifdef WIN32
 +#ifdef GIT_WINDOWS_NATIVE
                if (!(sb.st_mode & S_IWUSR) &&
                                chmod(argv[i], sb.st_mode | S_IWUSR)) {
                        fprintf(stderr, "Could not make user-writable %s: %s",