1
/* @(#)testvms.c 19.1 (ES0-DMD) 02/25/03 13:52:28 */
2
/*===========================================================================
3
Copyright (C) 1995 European Southern Observatory (ESO)
5
This program is free software; you can redistribute it and/or
6
modify it under the terms of the GNU General Public License as
7
published by the Free Software Foundation; either version 2 of
8
the License, or (at your option) any later version.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
15
You should have received a copy of the GNU General Public
16
License along with this program; if not, write to the Free
17
Software Foundation, Inc., 675 Massachusetss Ave, Cambridge,
20
Corresponding concerning ESO-MIDAS should be addressed as follows:
21
Internet e-mail: midas@eso.org
22
Postal address: European Southern Observatory
23
Data Management Division
24
Karl-Schwarzschild-Strasse 2
25
D 85748 Garching bei Muenchen
27
===========================================================================*/
29
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33
.AUTHOR IPG-ESO Garching
34
.CATEGORY Preinstallation test for the operating system.
35
.COMMENTS It writes into a logfile if this is an OPEN_VMS ("ALPHA_VMS")
36
or the old VMS system ("OLD_VMS").
37
The logfile will be checked in the MIDAS preinstallation
38
("preinstall.com") to take different actions.
39
.VERSION 1.0 93.01.18: Implementation. C.Guirao
40
------------------------------------------------------------*/
48
if (argc > 1) freopen(argv[1],"w",stdout);
49
else freopen("test.log","w",stdout);
52
printf("ALPHA_VMS\n");