diff --git a/lib/spack/spack/test/mirror.py b/lib/spack/spack/test/mirror.py index a8697fd029a..2f80bae4081 100644 --- a/lib/spack/spack/test/mirror.py +++ b/lib/spack/spack/test/mirror.py @@ -109,7 +109,8 @@ def test_git_mirror(mock_git_repository): @pytest.mark.skipif( - not which('svn'), reason='requires subversion to be installed') + not which('svn') or not which('svnadmin'), + reason='requires subversion to be installed') def test_svn_mirror(mock_svn_repository): set_up_package('svn-test', mock_svn_repository, 'svn') check_mirror() diff --git a/lib/spack/spack/test/svn_fetch.py b/lib/spack/spack/test/svn_fetch.py index a915a82874a..eb0d22ee7cd 100644 --- a/lib/spack/spack/test/svn_fetch.py +++ b/lib/spack/spack/test/svn_fetch.py @@ -19,7 +19,8 @@ pytestmark = pytest.mark.skipif( - not which('svn'), reason='requires subversion to be installed') + not which('svn') or not which('svnadmin'), + reason='requires subversion to be installed') @pytest.mark.parametrize("type_of_test", ['default', 'rev0'])