add print test page v6
This commit is contained in:
3
apply.pl
3
apply.pl
@@ -1670,8 +1670,9 @@ sub test_print_queue( $$ )
|
||||
$tmpdir = '/tmp' if ! -d $tmpdir || ! -w $tmpdir;
|
||||
|
||||
my $tmp = $tmpdir . '/smart-test-print-' . $$ . '-' . int( rand( 1000000 ) ) . '.txt';
|
||||
my $fh;
|
||||
|
||||
if( ! open( my $fh, '>', $tmp ) )
|
||||
if( ! open( $fh, '>', $tmp ) )
|
||||
{
|
||||
my $msg = 'Could not create test print file ' . $tmp . ': ' . $!;
|
||||
apply_log_line( 'ERROR', 'print queue test failed queue=' . $queue . ' error=' . $msg );
|
||||
|
||||
Reference in New Issue
Block a user