put5.gms : Test put fallback when writing directory

Description

test for AB0831


Small Model of Type : GAMS


Category : GAMS Test library


Main file : put5.gms

$title 'Test put fallback when writing directory' (PUT5,SEQ=229)

$onText
test for AB0831
$offText

$echo file alx / 'nicename.put' /; put alx 'bad stuff'; > temp.gms
$call =gams temp.gms  pdir=badpath lo=%GAMS.lo%
$if errorlevel 1 $abort previous gams call failed