File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,6 @@ def apt_dependencies():
4040 )
4141
4242
43- @pytest .mark .xfail (
44- reason = "https://github.com/qualcomm-linux/qcom-deb-images/issues/193" ,
45- strict = True ,
46- )
4743def test_sudo_no_fqdn (apt_dependencies ):
4844 """sudo should not call FQDN lookup functions
4945
Original file line number Diff line number Diff line change @@ -146,6 +146,13 @@ actions:
146146 echo "debian ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/90-debos
147147 )
148148
149+ # See: https://github.com/qualcomm-linux/qcom-deb-images/issues/193
150+ - action : run
151+ description : Configure sudo to use !fqdn
152+ command : |
153+ set -eux
154+ echo "Defaults !fqdn" > ${ROOTDIR}/etc/sudoers.d/disable-fqdn
155+
149156 # NB: Recommends pull in way too many packages, and we don't need to follow
150157 # Recommends reaching outside of this Priority level
151158 - action : apt
You can’t perform that action at this time.
0 commit comments