source-engine/unittests/autotestscripts/test_error_reporting.pl

14 lines
280 B
Perl
Raw Normal View History

2020-04-22 16:56:21 +00: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;
}
}