##// END OF EJS Templates
test: add warning about not mounting /tmp noexec
domruf -
r6570:3af2dea7 default
parent child Browse files
Show More
@@ -57,6 +57,11 b' project root::'
57 57
58 58 Note that testing on Python 2.6 also requires ``unittest2``.
59 59
60 Note that on unix systems, the temporary directory (``/tmp`` or where
61 ``$TMPDIR`` points) must allow executable files; Git hooks must be executable,
62 and the test suite creates repositories in the temporary directory. Linux
63 systems with /tmp mounted noexec will thus fail.
64
60 65 You can also use ``tox`` to run the tests with all supported Python versions
61 66 (currently Python 2.6--2.7).
62 67
@@ -435,6 +435,9 b' class TestVCSOperations(TestController):'
435 435 assert msg in stderr
436 436
437 437 def test_push_on_locked_repo_by_other_user_git(self):
438 # Note: Git hooks must be executable on unix. This test will thus fail
439 # for example on Linux if /tmp is mounted noexec.
440
438 441 #clone some temp
439 442 DEST = _get_tmp_dir()
440 443 clone_url = _construct_url(GIT_REPO)
General Comments 0
You need to be logged in to leave comments. Login now