6127bc0 Workaround: OSError: [Errno 18] Invalid cross-device link

Authored and Committed by churchyard 5 years ago
    Workaround: OSError: [Errno 18] Invalid cross-device link
    
    The tests were hitting:
    
    OSError: [Errno 18] Invalid cross-device link: b'/tmp/...' -> b'/builddir/.local/share/Trash/files/...'
    
    In local mock or in Copr. It only happens in certain containerized environments.
    
    By setting TMPDIR inside the builddir, we workaround this problem.
    
        
file modified
+5 -1