Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2017 15:56:07 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r323444 - projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot
Message-ID:  <201709111556.v8BFu7rq005808@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Mon Sep 11 15:56:07 2017
New Revision: 323444
URL: https://svnweb.freebsd.org/changeset/base/323444

Log:
  Speed up snapshot_017_pos from the ZFS test suite
  
  tests/sys/cddl/zfs/tests/snapshot/snapshot_017_pos.ksh
  	Use touch instead of mkfile.  Nothing cares about the file size.
  
  Sponsored by:	Spectra Logic Corp

Modified:
  projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot/snapshot_017_pos.ksh

Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot/snapshot_017_pos.ksh
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot/snapshot_017_pos.ksh	Mon Sep 11 15:52:24 2017	(r323443)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot/snapshot_017_pos.ksh	Mon Sep 11 15:56:07 2017	(r323444)
@@ -155,16 +155,16 @@ SAVED_DIR=$PWD
 # ./dir1/dir2/file6
 
 cd $TESTDIR
-$MKFILE 10m file1
-$MKFILE 20m file2
+$TOUCH file1
+$TOUCH file2
 $MKDIR dir1
 cd dir1
-$MKFILE 10m file3
-$MKFILE 20m file4
+$TOUCH file3
+$TOUCH file4
 $MKDIR dir2
 cd dir2
-$MKFILE 10m file5
-$MKFILE 20m file6
+$TOUCH file5
+$TOUCH file6
 
 # Now walk the directory structure verifying it
 cd $TESTDIR



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