svn commit: r294067 - in stable/9/tools/regression: geom_concat geom_mirror geom_raid3 geom_shsec geom_stripe

Garrett Cooper ngie at FreeBSD.org
Fri Jan 15 02:32:59 UTC 2016


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

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

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

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

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

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

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

Modified: stable/9/tools/regression/geom_stripe/conf.sh
==============================================================================
--- stable/9/tools/regression/geom_stripe/conf.sh	Fri Jan 15 02:22:02 2016	(r294066)
+++ stable/9/tools/regression/geom_stripe/conf.sh	Fri Jan 15 02:32:57 2016	(r294067)
@@ -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-stable-9 mailing list