diff options
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/dejagnu/config/ChangeLog | 6 | ||||
| -rw-r--r-- | src/tests/dejagnu/config/default.exp | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog index 1f20473e9d..1caa5f1bf4 100644 --- a/src/tests/dejagnu/config/ChangeLog +++ b/src/tests/dejagnu/config/ChangeLog @@ -1,3 +1,9 @@ +Wed May 3 22:00:48 1995 Ezra Peisach <epeisach@kangaroo.mit.edu> + + * default.exp: (get_hostname): The FQDN returned by resolve needs + to be made lower case as the host name is entered directly + into the database. + Mon May 1 21:32:57 1995 Theodore Y. Ts'o (tytso@dcl) * default.exp: (get_hostname): Use tests/resolve/resolve to get diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index 8a599523fe..e28b7fa953 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -184,6 +184,9 @@ proc get_hostname { } { close $file catch "exec rm -f tmpdir/hostname" exec_output regexp "^\[^.\]*" $hostname localhostname + + set hostname [string tolower $hostname] + set localhostname [string tolower $localhostname] verbose "hostname: $hostname; localhostname: $localhostname" return 1 |
