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:
parent
637f34cb64
commit
92a889c673
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
name="test"
|
name="$(mktemp -u concat.XXXXXX)"
|
||||||
class="concat"
|
class="concat"
|
||||||
base=`basename $0`
|
base=`basename $0`
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
name="test"
|
name="$(mktemp -u mirror.XXXXXX)"
|
||||||
class="mirror"
|
class="mirror"
|
||||||
base=`basename $0`
|
base=`basename $0`
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
name="test"
|
name="$(mktemp -u graid3.XXXXXX)"
|
||||||
class="raid3"
|
class="raid3"
|
||||||
base=`basename $0`
|
base=`basename $0`
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
name="test"
|
name="$(mktemp -u shsec.XXXXXX)"
|
||||||
class="shsec"
|
class="shsec"
|
||||||
base=`basename $0`
|
base=`basename $0`
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
name="test"
|
name="$(mktemp -u stripe.XXXXXX)"
|
||||||
class="stripe"
|
class="stripe"
|
||||||
base=`basename $0`
|
base=`basename $0`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user