summaryrefslogtreecommitdiffstats
path: root/tests/shlib/vterm.sh
blob: bf95bb1133f6b16a070fe9a8f057c1f95a68f310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
. 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
}