Commit a65c99a5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove the "feature term" test now that we use TERM=xterm

parent 362c24c3
varnishtest "trivial run of varnistat in curses mode"
feature term
server s1 -repeat 4 {
rxreq
txresp
......
varnishtest "trivial run of varnishhist in curses mode"
feature term
server s1 {
rxreq
txresp
......
varnishtest "trivial run of varnishtop in curses mode"
feature term
server s1 {
rxreq
txresp
......
varnishtest "trivial run of varnishadm in curses mode"
feature term
server s1 {
rxreq
txresp
......
varnishtest "trivial run of varnishadm in pass mode"
feature term
server s1 {
rxreq
txresp
......
......@@ -341,8 +341,6 @@ cmd_delay(CMD_ARGS)
* ignore_unknown_macro
* Do not fail the test if a string of the form ${...} is not
* recognized as a macro.
* term
* Support for ansi.sys terminal
*
* persistent_storage
* Varnish was built with the deprecated persistent storage.
......@@ -358,23 +356,6 @@ static const unsigned with_persistent_storage = 1;
static const unsigned with_persistent_storage = 0;
#endif
static int
test_term(struct vtclog *vl)
{
FILE *p;
int a, b;
p = popen("tput -T ansi.sys clear 2>&1", "r");
if (p == NULL)
return (0);
a = fgetc(p);
b = fgetc(p);
if (a == 0x1b && b == '[')
return (1);
vtc_log(vl, 3, "No 'ansi.sys' terminfo entry.");
return (0);
}
void v_matchproto_(cmd_f)
cmd_feature(CMD_ARGS)
{
......@@ -423,7 +404,6 @@ cmd_feature(CMD_ARGS)
FEATURE("user_varnish", getpwnam("varnish") != NULL);
FEATURE("user_vcache", getpwnam("vcache") != NULL);
FEATURE("group_varnish", getgrnam("varnish") != NULL);
FEATURE("term", test_term(vl));
FEATURE("persistent_storage", with_persistent_storage);
if (!strcmp(*av, "disable_aslr")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment