99e8d80 ipatests: strip newline character when getting name of temp file

1 file Authored by sorlov 4 years ago, Committed by rcritten 4 years ago,
    ipatests: strip newline character when getting name of temp file
    
    Function create_temp_file was returning unprocessed output of mktemp
    command, which contains a trailing newline. Callers which tryed to write
    to the temp file were creating a new one instead.
    
    Reviewed-By: Michal Polovka <mpolovka@redhat.com>