testing: Override user environment PATH in chroot
authorRobin McCorkell <robin@mccorkell.me.uk>
Mon, 27 Nov 2017 16:46:22 +0000 (16:46 +0000)
committerTobias Brunner <tobias@strongswan.org>
Fri, 22 Dec 2017 09:22:47 +0000 (10:22 +0100)
commit82b91e113aa399efa020985c2f032fbf19ccfdaa
tree90599761d52f55c9cde05f7fc3e7e26d8e271908
parent381f6d982c2993f429b05513c7ba6ca6d4d14572
testing: Override user environment PATH in chroot

chroot will capture the user environment's PATH variable, which may be
wrong (e.g. not include /bin:/sbin, as it is on Arch). We should set a
known-working PATH variable in the chroot.
testing/scripts/function.sh