diff options
Diffstat (limited to 'xts5/src/libXtTest/avs_init.c')
-rw-r--r-- | xts5/src/libXtTest/avs_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xts5/src/libXtTest/avs_init.c b/xts5/src/libXtTest/avs_init.c index 1662746d..ee347387 100644 --- a/xts5/src/libXtTest/avs_init.c +++ b/xts5/src/libXtTest/avs_init.c @@ -119,14 +119,14 @@ int argcount; /* ** open display */ - cfgdisplay = tet_getvar("XT_DISPLAY"); + cfgdisplay = getenv("DISPLAY"); if (cfgdisplay == 0) { - tet_infoline("ERROR: avs_xt_init: XT_DISPLAY not set in tet_exec.cfg"); + tet_infoline("ERROR: avs_xt_init: DISPLAY not set"); tet_result(TET_UNRESOLVED); exit(0); } if (strlen(cfgdisplay) == 0) { - tet_infoline("ERROR: avs_xt_init: XT_DISPLAY has empty value in tet_exec.cfg"); + tet_infoline("ERROR: avs_xt_init: DISPLAY has empty value"); tet_result(TET_UNRESOLVED); exit(0); } |