svn commit: r294066 - in stable/10/tools/regression: geom_concat geom_mirror geom_raid3 geom_shsec geom_stripe

Garrett Cooper ngie at FreeBSD.org
Fri Jan 15 02:22:04 UTC 2016


Author: ngie
Date: Fri Jan 15 02:22:02 2016
New Revision: 294066
URL: https://svnweb.freebsd.org/changeset/base/294066

Log:
  MFC r293032:
  
  Use randomly generated device names in testcases via mktemp -u instead of using
  the hardcoded device name, "test"

Modified:
  stable/10/tools/regression/geom_concat/conf.sh
  stable/10/tools/regression/geom_mirror/conf.sh
  stable/10/tools/regression/geom_raid3/conf.sh
  stable/10/tools/regression/geom_shsec/conf.sh
  stable/10/tools/regression/geom_stripe/conf.sh
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/tools/regression/geom_concat/conf.sh
==============================================================================
--- stable/10/tools/regression/geom_concat/conf.sh	Fri Jan 15 02:19:26 2016	(r294065)
+++ stable/10/tools/regression/geom_concat/conf.sh	Fri Jan 15 02:22:02 2016	(r294066)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # $FreeBSD$
 
-name="test"
+name="$(mktemp -u concat.XXXXXX)"
 class="concat"
 base=`basename $0`
 

Modified: stable/10/tools/regression/geom_mirror/conf.sh
==============================================================================
--- stable/10/tools/regression/geom_mirror/conf.sh	Fri Jan 15 02:19:26 2016	(r294065)
+++ stable/10/tools/regression/geom_mirror/conf.sh	Fri Jan 15 02:22:02 2016	(r294066)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # $FreeBSD$
 
-name="test"
+name="$(mktemp -u mirror.XXXXXX)"
 class="mirror"
 base=`basename $0`
 

Modified: stable/10/tools/regression/geom_raid3/conf.sh
==============================================================================
--- stable/10/tools/regression/geom_raid3/conf.sh	Fri Jan 15 02:19:26 2016	(r294065)
+++ stable/10/tools/regression/geom_raid3/conf.sh	Fri Jan 15 02:22:02 2016	(r294066)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # $FreeBSD$
 
-name="test"
+name="$(mktemp -u graid3.XXXXXX)"
 class="raid3"
 base=`basename $0`
 

Modified: stable/10/tools/regression/geom_shsec/conf.sh
==============================================================================
--- stable/10/tools/regression/geom_shsec/conf.sh	Fri Jan 15 02:19:26 2016	(r294065)
+++ stable/10/tools/regression/geom_shsec/conf.sh	Fri Jan 15 02:22:02 2016	(r294066)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # $FreeBSD$
 
-name="test"
+name="$(mktemp -u shsec.XXXXXX)"
 class="shsec"
 base=`basename $0`
 

Modified: stable/10/tools/regression/geom_stripe/conf.sh
==============================================================================
--- stable/10/tools/regression/geom_stripe/conf.sh	Fri Jan 15 02:19:26 2016	(r294065)
+++ stable/10/tools/regression/geom_stripe/conf.sh	Fri Jan 15 02:22:02 2016	(r294066)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # $FreeBSD$
 
-name="test"
+name="$(mktemp -u stripe.XXXXXX)"
 class="stripe"
 base=`basename $0`
 


More information about the svn-src-all mailing list