Skip to content

Commit 3ad4ba4

Browse files
committed
Remove write-forbidden tests
This behavior is allowed now.
1 parent 31682c7 commit 3ad4ba4

File tree

5 files changed

+0
-77
lines changed

5 files changed

+0
-77
lines changed

cmstestsuite/Tests.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -436,34 +436,6 @@
436436
checks=[CheckCompilationFail()]),
437437

438438

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-
467439
# This tests complete successfully only if it is unable to execute
468440
# output.txt.
469441

cmstestsuite/code/write-forbidden-communication.c

Lines changed: 0 additions & 10 deletions
This file was deleted.

cmstestsuite/code/write-forbidden-fileio.c

Lines changed: 0 additions & 13 deletions
This file was deleted.

cmstestsuite/code/write-forbidden-managed.c

Lines changed: 0 additions & 12 deletions
This file was deleted.

cmstestsuite/code/write-forbidden-stdio.c

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)