git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Fix some bugs in abspath.c
@ 2012-09-06 22:40 Michael Haggerty
  2012-09-06 22:40 ` [PATCH v2 1/8] t0060: move tests of real_path() from t0000 to here Michael Haggerty
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Michael Haggerty @ 2012-09-06 22:40 UTC (permalink / raw)
  To: Junio C Hamano
  Cc: Johannes Sixt, git, Orgad and Raizel Shaneh, Nguyen Thai Ngoc Duy,
	Michael Haggerty

Second version of patches, incorporating gratefully received advice
from Hannes:

* Moved existing tests of real_path() from t0000 to t0060, and add new
  tests to t0060 instead of t0000.

* Adjusted the regexp used to construct a top-level directory that is
  needed for tests.

* Skip some tests when the POSIX prerequisite is not satisfied.

Michael Haggerty (8):
  t0060: move tests of real_path() from t0000 to here
  t0060: verify that absolute_path() fails if passed the empty string
  absolute_path(): reject the empty string
  t0060: verify that real_path() fails if passed the empty string
  real_path(): reject the empty string
  t0060: verify that real_path() works correctly with absolute paths
  real_path(): properly handle nonexistent top-level paths
  t0060: verify that real_path() removes extra slashes

 abspath.c             |  9 +++++++--
 t/t0000-basic.sh      | 18 -----------------
 t/t0060-path-utils.sh | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 62 insertions(+), 20 deletions(-)

-- 
1.7.11.3

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-09-10 11:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 22:40 [PATCH v2 0/8] Fix some bugs in abspath.c Michael Haggerty
2012-09-06 22:40 ` [PATCH v2 1/8] t0060: move tests of real_path() from t0000 to here Michael Haggerty
2012-09-06 22:40 ` [PATCH v2 2/8] t0060: verify that absolute_path() fails if passed the empty string Michael Haggerty
2012-09-06 22:40 ` [PATCH v2 3/8] absolute_path(): reject " Michael Haggerty
2012-09-06 23:09   ` Junio C Hamano
2012-09-09  4:48     ` Michael Haggerty
2012-09-09  4:59       ` Junio C Hamano
2012-09-06 22:41 ` [PATCH v2 4/8] t0060: verify that real_path() fails if passed " Michael Haggerty
2012-09-06 22:41 ` [PATCH v2 5/8] real_path(): reject " Michael Haggerty
2012-09-06 22:41 ` [PATCH v2 6/8] t0060: verify that real_path() works correctly with absolute paths Michael Haggerty
2012-09-06 22:41 ` [PATCH v2 7/8] real_path(): properly handle nonexistent top-level paths Michael Haggerty
2012-09-06 22:41 ` [PATCH v2 8/8] t0060: verify that real_path() removes extra slashes Michael Haggerty
2012-09-09 15:42 ` [PATCH 9/8] t0060: split absolute path test in two to exercise some of it on Windows Johannes Sixt
2012-09-10 11:52   ` Michael Haggerty

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).