test/vhost/initiator: allow running as non-root
There's no reason to require running as root, so remove the check for that. Change-Id: I4fa97e5a500f4715c6949b8d84bfad4b59b1c474 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1547 Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
4f00be338c
commit
3ac4e0a067
@ -13,11 +13,6 @@ vhosttestinit
|
||||
source $testdir/autotest.config
|
||||
RPC_PY="$rootdir/scripts/rpc.py -s $(get_vhost_dir 0)/rpc.sock"
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "INFO: Go away user come back as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
trap '$(get_vhost_dir)/Virtio0;
|
||||
error_exit "${FUNCNAME}""${LINENO}"' ERR SIGTERM SIGABRT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user