>># 
>># Copyright 1990, 1991 by the Massachusetts Institute of Technology and
>># UniSoft Group Limited.
>># 
>># Permission to use, copy, modify, distribute, and sell this software and
>># its documentation for any purpose is hereby granted without fee,
>># provided that the above copyright notice appear in all copies and that
>># both that copyright notice and this permission notice appear in
>># supporting documentation, and that the names of MIT and UniSoft not be
>># used in advertising or publicity pertaining to distribution of the
>># software without specific, written prior permission.  MIT and UniSoft
>># make no representations about the suitability of this software for any
>># purpose.  It is provided "as is" without express or implied warranty.
>># 
>># $XConsortium: dsplynm.m,v 1.7 92/06/11 17:20:14 rws Exp $
>># 
>>#
>>TITLE XDisplayName CH08
>>ASSERTION B XDisplayName-1
A call to XDisplayName returns a pointer to the display
name that XOpenDisplay would attempt to use when passed
string as an argument.
>>STRATEGY
Fork a child process using tet_fork.
In child :
  Exec the file "./Test1" with the environment variable DISPLAY set to 
    the value of XT_DISPLAY config variable.
  In Test1:
    Call XDisplayName with string set to TestString:0.0
    Verify that the call returned a pointer to TestString:0.0
    Obtain the value of the DISPLAY environment variable.
    Call XDisplayName with string set to NULL.
    Verify that the DISPLAY variable value is identical to the string 
      returned by XDisplayName.
