Use randomly generated device names in testcases via mktemp -u instead of using

the hardcoded device name, "test"

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-01-01 03:12:51 +00:00
parent 637f34cb64
commit 92a889c673
5 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
name="test"
name="$(mktemp -u concat.XXXXXX)"
class="concat"
base=`basename $0`

View File

@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
name="test"
name="$(mktemp -u mirror.XXXXXX)"
class="mirror"
base=`basename $0`

View File

@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
name="test"
name="$(mktemp -u graid3.XXXXXX)"
class="raid3"
base=`basename $0`

View File

@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
name="test"
name="$(mktemp -u shsec.XXXXXX)"
class="shsec"
base=`basename $0`

View File

@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
name="test"
name="$(mktemp -u stripe.XXXXXX)"
class="stripe"
base=`basename $0`