From: Johannes Sixt <j6t@kdbg.org>
To: git@vger.kernel.org
Subject: [PATCH 00/11] Increase test coverage on Windows by removing SYMLINKS from many tests
Date: Sat, 1 Jun 2013 11:34:19 +0200 [thread overview]
Message-ID: <cover.1370076477.git.j6t@kdbg.org> (raw)
Many tests that involve symbolic links actually check only whether our
algorithms are correct by investigating the contents of the object
database and the index. Only some of them check the filesystem.
This series introduces a function test_ln_s_add that inserts a symbolic
link in the index even if the filesystem does not support symbolic links.
By using this function, many more tests can be run when the filesystem
does not have symblic links, aka Windows.
The patches touch a number of test files that do not follow the modern
style. But I modernized only the two test files where the subsequent
change to use test_ln_s_add would otherwise be rather inconvenient or
obscure.
Johannes Sixt (11):
test-chmtime: Fix exit code on Windows
t2100: modernize style and unroll a loop of test cases
t3010: modernize style
tests: introduce test_ln_s and test_ln_s_add
tests: use test_ln_s_add to remove SYMLINKS prerequisite (trivial
cases)
t0000: use test_ln_s_add to remove SYMLINKS prerequisite
t2100: use test_ln_s_add to remove SYMLINKS prerequisite
t3030: use test_ln_s_add to remove SYMLINKS prerequisite
t3100: use test_ln_s_add to remove SYMLINKS prerequisite
t3509, t4023, t4114: use test_ln_s_add to remove SYMLINKS prerequisite
t6035: use test_ln_s_add to remove SYMLINKS prerequisite
t/README | 17 +++++
t/t0000-basic.sh | 39 +++---------
t/t1004-read-tree-m-u-wf.sh | 7 +--
t/t2001-checkout-cache-clash.sh | 7 +--
t/t2003-checkout-cache-mkdir.sh | 8 +--
t/t2004-checkout-cache-temp.sh | 5 +-
t/t2007-checkout-symlink.sh | 12 ++--
t/t2021-checkout-overwrite.sh | 12 ++--
t/t2100-update-cache-badpath.sh | 71 +++++++++++----------
t/t2200-add-update.sh | 5 +-
t/t3000-ls-files-others.sh | 7 +--
t/t3010-ls-files-killed-modified.sh | 112 +++++++++++++++------------------
t/t3030-merge-recursive.sh | 62 ++++++++----------
t/t3100-ls-tree-restrict.sh | 42 +++++--------
t/t3509-cherry-pick-merge-df.sh | 12 ++--
t/t3700-add.sh | 15 ++---
t/t3903-stash.sh | 39 ++++++++----
t/t4008-diff-break-rewrite.sh | 12 ++--
t/t4011-diff-symlink.sh | 23 ++++---
t/t4023-diff-rename-typechange.sh | 28 ++++-----
t/t4030-diff-textconv.sh | 8 +--
t/t4114-apply-typechange.sh | 29 +++++----
t/t4115-apply-symlink.sh | 10 ++-
t/t4122-apply-symlink-inside.sh | 8 +--
t/t6035-merge-dir-to-symlink.sh | 73 +++++++++++++--------
t/t7001-mv.sh | 18 +++---
t/t7607-merge-overwrite.sh | 5 +-
t/t8006-blame-textconv.sh | 14 ++---
t/t8007-cat-file-textconv.sh | 10 ++-
t/t9350-fast-export.sh | 5 +-
t/t9500-gitweb-standalone-no-errors.sh | 15 ++---
t/test-lib-functions.sh | 30 +++++++++
test-chmtime.c | 8 +--
33 files changed, 391 insertions(+), 377 deletions(-)
--
1.8.3.rc1.32.g8b61cbb
next reply other threads:[~2013-06-01 9:34 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-01 9:34 Johannes Sixt [this message]
2013-06-01 9:34 ` [PATCH 01/11] test-chmtime: Fix exit code on Windows Johannes Sixt
2013-06-01 9:34 ` [PATCH 02/11] t2100: modernize style and unroll a loop of test cases Johannes Sixt
2013-06-01 9:34 ` [PATCH 03/11] t3010: modernize style Johannes Sixt
2013-06-01 9:34 ` [PATCH 04/11] tests: introduce test_ln_s and test_ln_s_add Johannes Sixt
2013-06-01 11:11 ` Ramkumar Ramachandra
2013-06-01 15:06 ` Johannes Sixt
2013-06-01 17:10 ` Ramkumar Ramachandra
2013-06-01 9:34 ` [PATCH 05/11] tests: use test_ln_s_add to remove SYMLINKS prerequisite (trivial cases) Johannes Sixt
2013-06-04 21:06 ` Junio C Hamano
2013-06-05 19:32 ` Johannes Sixt
2013-06-04 21:55 ` Junio C Hamano
2013-06-05 20:07 ` Johannes Sixt
2013-06-01 9:34 ` [PATCH 06/11] t0000: use test_ln_s_add to remove SYMLINKS prerequisite Johannes Sixt
2013-06-01 9:34 ` [PATCH 07/11] t2100: " Johannes Sixt
2013-06-04 22:04 ` Junio C Hamano
2013-06-05 20:23 ` Johannes Sixt
2013-06-01 9:34 ` [PATCH 08/11] t3030: " Johannes Sixt
2013-06-01 9:34 ` [PATCH 09/11] t3100: " Johannes Sixt
2013-06-01 9:34 ` [PATCH 10/11] t3509, t4023, t4114: " Johannes Sixt
2013-06-02 23:44 ` Junio C Hamano
2013-06-01 9:34 ` [PATCH 11/11] t6035: " Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 00/10] Increase test coverage on Windows by removing SYMLINKS from many tests Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 01/10] test-chmtime: Fix exit code on Windows Johannes Sixt
2013-11-20 14:00 ` Erik Faye-Lund
2013-06-07 20:53 ` [PATCH v2 02/10] t3010: modernize style Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 03/10] tests: introduce test_ln_s_add Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 04/10] tests: use test_ln_s_add to remove SYMLINKS prerequisite (trivial cases) Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 05/10] t0000: use test_ln_s_add to remove SYMLINKS prerequisite Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 06/10] t3030: " Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 07/10] t3100: " Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 08/10] t3509, t4023, t4114: " Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 09/10] t6035: " Johannes Sixt
2013-06-07 20:53 ` [PATCH v2 10/10] t4011: " Johannes Sixt
2013-06-07 22:04 ` [PATCH v2 00/10] Increase test coverage on Windows by removing SYMLINKS from many tests Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1370076477.git.j6t@kdbg.org \
--to=j6t@kdbg.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).