Spdk/test/common
Karol Latecki 6127b1a33b test/common: use sudo to remove old temp files
Most common scenario is to run SPDK tests using "autorun.sh",
which calls autotest.sh with "sudo" and permissions are not
an issue then.
However we have a number of tests which are run independently
(e.g. test/fuzz/autofuzz.sh) and try to remove old temp files
before sudo is used to elevate privileges. This causes tests
to fail early.
Using "sudo" explicitly in autotest_common.sh to remove old
files will fix the problem.

Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Change-Id: I84f75c189bb04d0e3208dfc4f221d07d17db5ee5
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3819
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Michal Berger <michalx.berger@intel.com>
2020-08-20 09:35:47 +00:00
..
config vm_setup: Add some missing dependencies 2020-08-20 09:34:23 +00:00
lib env_dpdk: move NVMe PCI driver definition to the nvme lib 2020-07-24 21:42:26 +00:00
applications.sh test/common: Add spdk_dd to applications.sh 2020-07-23 07:24:08 +00:00
autotest_common.sh test/common: use sudo to remove old temp files 2020-08-20 09:35:47 +00:00
skipped_build_files.txt test: remove skipping VPP 2020-08-17 08:19:46 +00:00
skipped_tests.txt test: remove skipping VPP 2020-08-17 08:19:46 +00:00