25768f4 tests: Fix browser.sh path detection to be less STI specific

Authored and Committed by martinpitt 3 years ago
    tests: Fix browser.sh path detection to be less STI specific
    
    Only set `$SOURCE` to ./source/ if that actually exists, which is when
    it is being called through Standard Test Interface.
    
    Provide fallbacks for using FMF [1] or when calling the script manually.
    
    [1] https://github.com/cockpit-project/cockpit-podman/pull/649
    
        
file modified
+7 -3