# HG changeset patch # User Mads Kiilerich # Date 1339711347 -7200 # Node ID 5efe9c6a34feed8b81631e93ecf80df685d59d96 # Parent 8aeb2f1ae94cdd27895cfc0db59a26cec7a920d1 tests: add some missing #if's / hghave requirements Seen on Linux with FAT. diff -r 8aeb2f1ae94c -r 5efe9c6a34fe tests/test-convert-baz.t --- a/tests/test-convert-baz.t Fri Jun 15 00:02:27 2012 +0200 +++ b/tests/test-convert-baz.t Fri Jun 15 00:02:27 2012 +0200 @@ -1,4 +1,4 @@ - $ "$TESTDIR/hghave" baz || exit 80 + $ "$TESTDIR/hghave" baz symlink || exit 80 $ baz my-id "mercurial " diff -r 8aeb2f1ae94c -r 5efe9c6a34fe tests/test-convert-cvsnt-mergepoints.t --- a/tests/test-convert-cvsnt-mergepoints.t Fri Jun 15 00:02:27 2012 +0200 +++ b/tests/test-convert-cvsnt-mergepoints.t Fri Jun 15 00:02:27 2012 +0200 @@ -91,6 +91,8 @@ $ echo xyzzy > foo.txt $ cvsci -m "merge1+clobber" foo.txt +#if unix-permissions + return to trunk and merge MYBRANCH1_2 $ cvscall -Q update -P -A @@ -200,5 +202,6 @@ Members: foo.txt:1.1.4.1->1.1.4.2 +#endif $ cd .. diff -r 8aeb2f1ae94c -r 5efe9c6a34fe tests/test-merge-tools.t --- a/tests/test-merge-tools.t Fri Jun 15 00:02:27 2012 +0200 +++ b/tests/test-merge-tools.t Fri Jun 15 00:02:27 2012 +0200 @@ -277,6 +277,8 @@ # hg stat M f +#if unix-permissions + environment variables in true.executable are handled: $ echo 'echo "custom merge tool"' > "$HGTMP/merge.sh" @@ -300,6 +302,8 @@ # hg stat M f +#endif + Tool selection and merge-patterns merge-patterns specifies new tool false: diff -r 8aeb2f1ae94c -r 5efe9c6a34fe tests/test-transplant.t --- a/tests/test-transplant.t Fri Jun 15 00:02:27 2012 +0200 +++ b/tests/test-transplant.t Fri Jun 15 00:02:27 2012 +0200 @@ -356,6 +356,8 @@ $ cd .. +#if unix-permissions system-sh + test filter $ hg init filter @@ -443,6 +445,9 @@ [255] $ cd .. +#endif + + test with a win32ext like setup (differing EOLs) $ hg init twin1 diff -r 8aeb2f1ae94c -r 5efe9c6a34fe tests/test-walk.t --- a/tests/test-walk.t Fri Jun 15 00:02:27 2012 +0200 +++ b/tests/test-walk.t Fri Jun 15 00:02:27 2012 +0200 @@ -276,9 +276,11 @@ $ hg debugwalk NOEXIST NOEXIST: * (glob) +#if fifo $ mkfifo fifo $ hg debugwalk fifo fifo: unsupported file type (type is fifo) +#endif $ rm fenugreek $ hg debugwalk fenugreek