t7800: run --dir-diff tests with and without symlinks
authorJohn Keeping <john@keeping.me.uk>
Fri, 29 Mar 2013 11:28:36 +0000 (11:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Mar 2013 22:16:40 +0000 (15:16 -0700)
Currently the difftool --dir-diff tests may or may not use symlinks
depending on the operating system on which they are run. In one case
this has caused a test failure to be noticed only on Windows when the
test also fails on Linux when difftool is invoked with --no-symlinks.

Rewrite these tests so that they do not depend on the environment but
run explicitly with both --symlinks and --no-symlinks, protecting the
--symlinks version with a SYMLINKS prerequisite.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found