numam-spdk/test/common
Michal Berger 9aeaafa1bc test/common: Use mktemp() to determine fallback test storage
Using hardcoded path of /tmp/spdk was a bit problematic due to the
way how CI mixes root permissions with non-root's during test
execution. As an example, see:

https://review.spdk.io/gerrit/c/spdk/spdk/+/2560

Instead of using /tmp/spdk as a fallback, always try to create tmp
directory by generating its path via mktemp(). This way, as with
"autobuild: Use mktemp() for spdk workspace (ae730042)", different
permissions shouldn't be an issue anymore.

Lingering tmp directories will be purge at each set_test_storage()
run.

Change-Id: I93bc60c97b68e66606e98fc83463074fc020e372
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3238
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-07-08 07:55:56 +00:00
..
config pkgdep/git: Don't clone nvme-cli-cuse repo if it already exists 2020-07-07 07:29:55 +00:00
lib rdma: Add new API spdk_rdma_qp_accept 2020-06-18 07:28:04 +00:00
applications.sh build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
autotest_common.sh test/common: Use mktemp() to determine fallback test storage 2020-07-08 07:55:56 +00:00
skipped_build_files.txt lib/makefile: move vhost_user.c into lib/virtio directory 2020-06-09 07:37:43 +00:00
skipped_tests.txt test/cuse: run namespace managment test if device supports it 2020-06-17 07:20:55 +00:00