Bug#775092: Make sure proxy variable exists before using it

Christian Kastner debian at kvr.at
Sun Jan 11 09:47:42 UTC 2015

Source: autopkgtest
Version: 3.9
Severity: minor
Tags: patch


adt-setup-vm uses a $proxy variable which will not exist if no proxy is
locally configured. Because theadt-setup-vm script sets -u, this
generates an error during vmbootstrap:

    Setting up networking
    Running customize script /usr/share/autopkgtest/adt-setup-vm
    /usr/share/autopkgtest/adt-setup-vm: 86: /usr/share/autopkgtest/adt-setup-vm: proxy: parameter not set


PS: This is a re-submission, as the first submission must have been
eaten by the spam filter or something (had a dollar sign in subject).
I refreshed the patch to apply after the fix in #775076.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: adt-setup-vm-Make-sure-proxy-variable-exists.patch
Type: text/x-patch
Size: 1415 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20150111/9e4d0a11/attachment.bin>

More information about the autopkgtest-devel mailing list