National Institute of Standards and Technology
Package illustrating a test case

Test case 149101

Deprecated test case

This version contains mistakes, making it deprecated. Deprecated test cases should not be used for new work. However, They remain in the SARD as a reference to redo previous work. The latest version of this test case is available here.

Description

This test case exposes a Race Condition error at the line 26. Many processes can access the same file in different moment.[br]
We can have something like that:[br]
Process 1: Open File[br]
Process 1: Close File[br]
Process 2: Open File[br]
Process 3: Open File[br]
Process 2: Close File[br]
Process 3: Close File[br]

Flaws

Test Suites

Have any comments on this test case? Please, send us an email.