Skip to content

Commit

Permalink
test: Run autotest.sh with sudo -E
Browse files Browse the repository at this point in the history
Preserve environment when running autotest.sh, so things like
$HOME work.

Change-Id: Id7f55fda1ad08904b3420263183c84bb19eec87a
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459265
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Maciej Szwed <maciej.szwed@intel.com>
  • Loading branch information
Ben Walker authored and darsto committed Jul 3, 2019
1 parent 97df5bc commit 421a736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autorun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ cat "$conf"

# Runs agent scripts
$rootdir/autobuild.sh "$conf"
sudo WITH_DPDK_DIR="$WITH_DPDK_DIR" $rootdir/autotest.sh "$conf"
sudo -E WITH_DPDK_DIR="$WITH_DPDK_DIR" $rootdir/autotest.sh "$conf"
$rootdir/autopackage.sh "$conf"

0 comments on commit 421a736

Please sign in to comment.