Skip to content
Snippets Groups Projects
Frédéric Dalleau's avatar
Frédéric Dalleau authored
In dun and pan tests, a file is retrieve from http to verify connection,
it is saved at the location defined in variable path. But path do not
contain a file path. Instead it's a dbus object path in /net/connman
namespace. As such, it is not suitable for using as a filename and any
tentative to open this file will end with an "File Not Found" error.

Instead, create a temporary filename that will be automatically deleted.

Reviewed-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Reviewed-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Reviewed-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D4447
c2f649f6
History
Name Last commit Last update