puts stdout "1 (stdout) test of error in scriptlib tcl script"
puts stderr "2 (stderr) error line will be run next"
error "This is the error"
#should be unreachable
puts stdout "-----------------------------"