Done in
http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=67e6d01f
.
The whole sudo handling could probably be generalized to all virt
runners at some point, but for now this works with the ssh runner. Tests
can now just do "sudo -A". But note that it's not always a given that
sudo is available, so either test [ -n $SUDO_ASKPASS ] or be prepared
that sudo -A fails, and skip tests accordingly.
** Changed in: autopkgtest (Ubuntu)
Status: New => Fix Committed
** Changed in: autopkgtest (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: autopkgtest (Ubuntu)
Assignee: (unassigned) => Martin Pitt (pitti)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1431421
Title:
adt-run could export the SUDO_ASKPASS variable to the testbed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1431421/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs