autotest.sh: add wildcard to RPC socket cleanup

Match alternative UNIX domain socket names for tests that use
more than one RPC socket.

Change-Id: I45672adac098554080b836c61b79ffd28577f702
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/388677
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Daniel Verkamp 2017-11-22 12:10:29 -07:00 committed by Jim Harris
parent 7da5c756b7
commit 0618d6b0db

View File

@ -43,7 +43,7 @@ fi
# Make sure the disks are clean (no leftover partition tables)
timing_enter cleanup
# Remove old domain socket pathname just in case
rm -f $DEFAULT_RPC_ADDR
rm -f /var/tmp/spdk*.sock
if [ $(uname -s) = Linux ]; then
# Load the kernel driver
./scripts/setup.sh reset