2017-04-30 14:49:46 +02:00
|
|
|
. tests/shlib/common.sh
|
2017-04-30 12:40:29 +02:00
|
|
|
set +x
|
|
|
|
|
|
|
|
vterm_setup() {
|
2017-05-21 15:09:54 +02:00
|
|
|
make_test_root
|
2017-04-30 12:40:29 +02:00
|
|
|
|
2017-05-21 01:33:21 +02:00
|
|
|
mkdir "$TEST_ROOT/path"
|
2017-04-30 12:40:29 +02:00
|
|
|
|
2019-10-10 06:40:13 +02:00
|
|
|
ln -s "$(command -v "${PYTHON}")" "$TEST_ROOT/path/python"
|
|
|
|
ln -s "$(command -v bash)" "$TEST_ROOT/path"
|
2017-05-21 01:33:21 +02:00
|
|
|
|
|
|
|
cp -r "$ROOT/tests/terminfo" "$TEST_ROOT"
|
2017-04-30 12:40:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
vterm_shutdown() {
|
2017-05-21 01:33:21 +02:00
|
|
|
rm_test_root
|
2017-04-30 12:40:29 +02:00
|
|
|
}
|