fc4f190 Introduce tests.util module

4 files Authored by nsoffer 6 years ago, Committed by teigland 6 years ago,
    Introduce tests.util module
    
    All the helper functions and constants moved to new util module.
    
    This module provides:
    
    - util.start_daemon() - starts a sanlock daemon process.
    
    - util.wait_for_daemon() - wait until sanlock daemon is ready.
    
    - util.sanlock() - run sanlock and return the output. Useful for running
      "sanlock client ..." or "sanlock direct ..." commands.
    
    - util.wait_for_termination - wait until a process terminates within a
      timeout.
    
    Signed-off-by: Nir Soffer <nsoffer@redhat.com>
    
        
file added
+0
empty file added
file modified
+13 -76
file modified
+2 -9
file added
+81