I think it would be better to use, because the package is optional and this file can be present or not:
attach_file_if_exists(report, '/proc/asound/version', 'AlsaVersion')
I think it would be better to use, because the package is optional and this file can be present or not:
attach_ file_if_ exists( report, '/proc/ asound/ version' , 'AlsaVersion')