#%Module1.0

##############################################################################
#   Modules Revision 3.0
#   Providing a flexible user environment
#
#   File:		puts/%M%
#   Revision:		%I%
#   First Edition:	2017/11/23
#   Last Mod.:		%U%, %G%
#
#   Authors:		Xavier Delaruelle, xavier.delaruelle@cea.fr
#
#   Description:	Testuite modulefile
#   Command:
#   Sub-Command:	puts
#
#   Invocation:		load @M@
#   Result:	%R{
#		}R%
#   Comment:	%C{
#			Check the 'puts' command
#		}C%
#			
##############################################################################

if {[module-info mode "load"] || [module-info mode "display"]} {
    puts stdout
    puts stderr
    puts -nonewline stdout
    puts -nonewline stderr

    puts stdout textout1
    puts stderr texterr1

    puts -nonewline stderr texterr2
    puts stderr texterr3

    puts -nonewline stdout textout2
    puts -nonewline stdout textout3
}

setenv testsuite ok
