Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1433: Tests: Use different jm_test_datadir for each local user

1370c12a5a Use different jm_test_datadir for each local user (Kristaps Kaupe)

Pull request description:

  Otherwise will have permission denied errors when trying to run tests from a different local users on the same system.

ACKs for top commit:
  AdamISZ:
    tACK 1370c12a5a

Tree-SHA512: f99ca2b10fc7a35f6001e9191ad5374222fd19072a48bd0a8a0c516c69a2d8b53233b8c9308d90f48a3d4419995c75ab8662dec26b47aba230d5ed0ca838ca0f
master
Kristaps Kaupe 3 years ago
parent
commit
619c42ecc3
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      test/run_tests.sh

2
test/run_tests.sh

@ -195,7 +195,7 @@ run_jm_tests ()
fi
for dir in '/dev/shm' '/Volumes/ramdisk' '/tmp' "${jm_source}/test"; do
if [[ -d "${dir}" && -r "${dir}" && -w "${dir}" && -x "${dir}" ]]; then
jm_test_datadir="${dir}/jm_test_home/.bitcoin"
jm_test_datadir="${dir}/jm_test_home-$(whoami)/.bitcoin"
break
fi
done

Loading…
Cancel
Save