css_enhanced_waf/unittests/autotestscripts/test_error_reporting.pl

14 lines
280 B
Perl
Raw Normal View History

2020-04-22 17:56:21 +01:00
#! perl
$errfname="//fileserver/user/cgreen/force_an_error.txt";
if (-e $errfname )
{
unlink $errfname;
open(ERROUT,">errors.txt") || die "huh - can't write";
{
print ERROUT "This is not an error - its just a test of the error script system.\n";
close ERROUT;
}
}