powerline/tests/shlib/vterm.sh

18 lines
279 B
Bash

. tests/shlib/common.sh
set +x
vterm_setup() {
make_test_root
mkdir "$TEST_ROOT/path"
ln -s "$(command -v "${PYTHON}")" "$TEST_ROOT/path/python"
ln -s "$(command -v bash)" "$TEST_ROOT/path"
cp -r "$ROOT/tests/terminfo" "$TEST_ROOT"
}
vterm_shutdown() {
rm_test_root
}