cuckoosandbox / cuckoo

Cuckoo Sandbox is an automated dynamic malware analysis system
http://www.cuckoosandbox.org
Other
5.55k stars 1.71k forks source link

tests shouldnt rely on CWD being in ~/.cuckoo , they should obey CUCKOO env var #2677

Open deliciouslytyped opened 5 years ago

deliciouslytyped commented 5 years ago

This makes making the test pass harder on NixOS because the build sandbox by convention doesn't provide a home directory. https://github.com/cuckoosandbox/cuckoo/blob/6650e7e4aa23e74c4d974c3492b0ee188e2cc447/tests/test_static.py#L24

deliciouslytyped commented 5 years ago

The same problem applies here: https://github.com/cuckoosandbox/cuckoo/blob/c41c7c5cb09416b7cfc6159811792679e20762f2/tests/test_init.py#L111