]> git.meshlink.io Git - meshlink/blob - test/run_blackbox_tests.sh
Improve the autoconnect algorithm.
[meshlink] / test / run_blackbox_tests.sh
1 #!/bin/sh
2 meshlinkrootpath=$(realpath ${0%/*}/..)
3 host=$(hostname)
4 lxcpath=$(lxc-config lxc.lxcpath)
5 lxcbridge="lxcbr0"
6 ethifname=$(ip route show default | awk '{print $5}' | head -1)
7 arch=$(dpkg --print-architecture)
8
9 test -f $HOME/.config/meshlink_blackbox.conf && . $HOME/.config/meshlink_blackbox.conf
10
11 ${0%/*}/blackbox/run_blackbox_tests/run_blackbox_tests ${meshlinkrootpath} ${lxcpath} ${lxcbridge} ${ethifname} ${arch} 2> run_blackbox_test_cases.log