Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Fix exit_group test #1943

Merged
merged 1 commit into from
Nov 23, 2020
Merged

Commits on Nov 20, 2020

  1. [LibOS] test/regression: Fix exit_group test

    The exit code of the test was a random number between 0 and 4,
    which gave no guarantee that the right code from exit() will
    actually reach the user.
    
    Instead of testing a race between threads, make it possible to
    call exit() in a chosen thread, and verify that it always works.
    
    In addition, propagate the exit code from a forked process. That
    use case was broken recently and has been fixed in the commit
    titled 'Rework threads implementation'.
    pwmarcz committed Nov 20, 2020
    Configuration menu
    Copy the full SHA
    6c8321b View commit details
    Browse the repository at this point in the history