Skip to content
Snippets Groups Projects
  • Cyrill Gorcunov's avatar
    12086678
    test: unit/popen -- provide a child process · 12086678
    Cyrill Gorcunov authored
    
    Testing via plain C interface with a shell is not stable,
    the shell might simply be misconfigured or not found and
    we will simply stuck forever (the signal handling in libev
    is tricky and requires at least idle cycles or similar to
    pass event processing). Thus lets rather run a program we
    know is presenting in the system (popen-child executable).
    
    Fixes #4811
    
    Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
    12086678
    History
    test: unit/popen -- provide a child process
    Cyrill Gorcunov authored
    
    Testing via plain C interface with a shell is not stable,
    the shell might simply be misconfigured or not found and
    we will simply stuck forever (the signal handling in libev
    is tricky and requires at least idle cycles or similar to
    pass event processing). Thus lets rather run a program we
    know is presenting in the system (popen-child executable).
    
    Fixes #4811
    
    Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>