ssahani / rpms / iproute

Forked from rpms/iproute 5 years ago
Clone

1abbe5e CI: Add ip token to test

Authored and Committed by Susant Sahani 5 years ago
    CI: Add ip token to test
    
    Sample Run
    ```
    :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    ::   Setup
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    iproute-4.16.0-1.fc28.x86_64
    :: [ 16:55:06 ] :: [   PASS   ] :: Checking for the presence of iproute rpm
    :: [ 16:55:06 ] :: [   LOG    ] :: Package versions:
    :: [ 16:55:06 ] :: [   LOG    ] ::   iproute-4.16.0-1.fc28.x86_64
    :: [ 16:55:06 ] :: [  BEGIN   ] :: Running 'cp ip-token-tests.py /usr/bin'
    :: [ 16:55:06 ] :: [   PASS   ] :: Command 'cp ip-token-tests.py /usr/bin' (Expected 0, got 0)
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    ::   Duration: 0s
    ::   Assertions: 2 good, 0 bad
    ::   RESULT: PASS
    
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    ::   Test
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    :: [ 16:55:07 ] :: [   LOG    ] :: ip token tests
    :: [ 16:55:07 ] :: [  BEGIN   ] :: Running '/usr/bin/python3 /usr/bin/ip-token-tests.py'
    test_add_token (__main__.IPTokenTests) ... token ::1a:2b:3c:4d dev veth-test
    ok
    
    ----------------------------------------------------------------------
    Ran 1 test in 0.029s
    
    OK
    :: [ 16:55:07 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/ip-token-tests.py' (Expected 0, got 0)
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    ::   Duration: 1s
    ::   Assertions: 1 good, 0 bad
    ::   RESULT: PASS
    
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    ::   Cleanup
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    
    ```
    
        
file modified
+1 -0