|
436 | 436 | checks=[CheckCompilationFail()]), |
437 | 437 |
|
438 | 438 |
|
439 | | - # Writing to files not allowed. |
440 | | - |
441 | | - # Inability to write to a file does not throw a specific error, |
442 | | - # just returns a NULL file handler to the caller. So we rely on |
443 | | - # the test program to write the correct result only if the |
444 | | - # returned handler is valid. |
445 | | - |
446 | | - Test('write-forbidden-fileio', |
447 | | - task=batch_fileio, filenames=['write-forbidden-fileio.%l'], |
448 | | - languages=(LANG_C,), |
449 | | - checks=[CheckOverallScore(0, 100)]), |
450 | | - |
451 | | - Test('write-forbidden-stdio', |
452 | | - task=batch_stdio, filenames=['write-forbidden-stdio.%l'], |
453 | | - languages=(LANG_C,), |
454 | | - checks=[CheckOverallScore(0, 100)]), |
455 | | - |
456 | | - Test('write-forbidden-managed', |
457 | | - task=batch_fileio_managed, filenames=['write-forbidden-managed.%l'], |
458 | | - languages=(LANG_C,), |
459 | | - checks=[CheckOverallScore(0, 100)]), |
460 | | - |
461 | | - Test('write-forbidden-communication', |
462 | | - task=communication_fifoio_stubbed, |
463 | | - filenames=['write-forbidden-communication.%l'], |
464 | | - languages=(LANG_C,), |
465 | | - checks=[CheckOverallScore(0, 100)]), |
466 | | - |
467 | 439 | # This tests complete successfully only if it is unable to execute |
468 | 440 | # output.txt. |
469 | 441 |
|
|
0 commit comments