File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/borg/testsuite/helpers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2222 make_path_safe ,
2323 map_chars ,
2424)
25- from ...platform import is_win32 , is_darwin , is_haiku
25+ from ...platform import is_win32 , is_darwin , is_haiku , is_cygwin
2626from .. import are_hardlinks_supported
2727from .. import rejected_dotdot_paths
2828
@@ -34,7 +34,7 @@ def test_get_base_dir(monkeypatch):
3434 monkeypatch .delenv ("USER" , raising = False )
3535 assert get_base_dir (legacy = True ) == os .path .expanduser ("~" )
3636 # Haiku OS is a single-user OS, expanding "~root" is not supported.
37- if not is_haiku :
37+ if not ( is_haiku or is_cygwin ) :
3838 monkeypatch .setenv ("USER" , "root" )
3939 assert get_base_dir (legacy = True ) == os .path .expanduser ("~root" )
4040 monkeypatch .setenv ("HOME" , "/var/tmp/home" )
You can’t perform that action at this time.
0 commit comments