MFC r293032:

Use randomly generated device names in testcases via mktemp -u instead of using
the hardcoded device name, "test"
This commit is contained in:
ngie 2016-01-15 02:22:02 +00:00
parent ea17ab405c
commit 21a0558e24
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`