powerline/tests/shlib/vterm.sh

18 lines
279 B
Bash
Raw Normal View History

. tests/shlib/common.sh
2017-04-30 12:40:29 +02:00
set +x
vterm_setup() {
make_test_root
2017-04-30 12:40:29 +02:00
mkdir "$TEST_ROOT/path"
2017-04-30 12:40:29 +02:00
ln -s "$(command -v "${PYTHON}")" "$TEST_ROOT/path/python"
ln -s "$(command -v bash)" "$TEST_ROOT/path"
cp -r "$ROOT/tests/terminfo" "$TEST_ROOT"
2017-04-30 12:40:29 +02:00
}
vterm_shutdown() {
rm_test_root
2017-04-30 12:40:29 +02:00
}