Description
I was trying to run this script, but then it was giving me this error
0/ci_container_base/ci/test/03_test_script.sh: line 90: /root/.bitcoin: Is a directory
1Command '['./ci/test/02_run_container.sh']' returned non-zero exit status 1.
Since there is a directory there, we should skip this step.
Solution
I created a check to see if a directory or a file already exists, otherwise create one
How to reproduce
I’m on Fedora 27
0mkdir $HOME/.bitcoin
1./ci/test/03_test_script.sh
This should be enough to run into the error, since the directory exists and the script thus cannot create a file