summaryrefslogtreecommitdiffstats
path: root/tests/shlib/vterm.sh
blob: 56b6c89bc888d0f64fb31f3aefe682ac244b2ba4 (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 "$(which "${PYTHON}")" "$TEST_ROOT/path/python"
	ln -s "$(which bash)" "$TEST_ROOT/path"

	cp -r "$ROOT/tests/terminfo" "$TEST_ROOT"
}

vterm_shutdown() {
	rm_test_root
}