1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293032
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`