diff options
author | Christopher Faylor <me@cgf.cx> | 2000-09-03 03:58:18 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-09-03 03:58:18 +0000 |
commit | f1930aec47835e0ce231dff1893826824a462567 (patch) | |
tree | 1f55fcc9c63b707adc8ea3d767ebd7510904f148 /winsup/testsuite/config/default.exp | |
parent | 42f03f675735b0ab55f86824894706e39878b5cc (diff) | |
download | newlib-f1930aec47835e0ce231dff1893826824a462567.zip newlib-f1930aec47835e0ce231dff1893826824a462567.tar.gz newlib-f1930aec47835e0ce231dff1893826824a462567.tar.bz2 |
Importing Egor's testsuite.
Diffstat (limited to 'winsup/testsuite/config/default.exp')
-rw-r--r-- | winsup/testsuite/config/default.exp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/winsup/testsuite/config/default.exp b/winsup/testsuite/config/default.exp index ec8ce14..5bbaf8d 100644 --- a/winsup/testsuite/config/default.exp +++ b/winsup/testsuite/config/default.exp @@ -1,5 +1,13 @@ proc winsup_version {} { - clone_output "\n[exec grep ^%%% ../new-cygwin1.dll]\n" + global env + global rootme + puts stderr "root=$rootme" + clone_output "\n[exec grep ^%%% $rootme/../cygwin/new-cygwin1.dll]\n" + if { [info exists env(CYGWIN)] } { + clone_output "CYGWIN=$env(CYGWIN)\n" + } else { + clone_output "CYGWIN=\n" + } } proc winsup_exit {} { |