我需要运行带有sudo特权的独立进程的测试(因为它们需要运行特权指令,例如)。在一个最小的可重复的例子中,错误是:
thread 'tests::base' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/l
Errno::ENOENT: No such file or directory - /Users/linus/Documents/Projekt/public/reports/9b5/10f/92d//storage/filesystem.rb:39:in `initialize'
from /Users/linus/.rvm/gems/ruby-2.0.0-p0/