Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2016 02:32:57 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r294067 - in stable/9/tools/regression: geom_concat geom_mirror geom_raid3 geom_shsec geom_stripe
Message-ID:  <201601150232.u0F2WvfX043787@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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`
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601150232.u0F2WvfX043787>