Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2010 09:31:34 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201422 - head/tools/regression/bin/mv
Message-ID:  <201001030931.o039VYnQ041244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: obrien
Date: Sun Jan  3 09:31:33 2010
New Revision: 201422
URL: http://svn.freebsd.org/changeset/base/201422

Log:
  Hide expected error output so the 'prove -r' results are easy to read.

Modified:
  head/tools/regression/bin/mv/regress.sh

Modified: head/tools/regression/bin/mv/regress.sh
==============================================================================
--- head/tools/regression/bin/mv/regress.sh	Sun Jan  3 09:30:50 2010	(r201421)
+++ head/tools/regression/bin/mv/regress.sh	Sun Jan  3 09:31:33 2010	(r201422)
@@ -184,7 +184,7 @@ do
 	# Should fail per POSIX step 3a:
 	# Destination path is a file of type directory and
 	# source_file is not a file of type directory
-	mv 1/2/3/fa ${FS}db
+	mv 1/2/3/fa ${FS}db 2>/dev/null
 	ckfail $?
 	ckf fa 1/2/3/fa
 	end
@@ -238,7 +238,7 @@ do
 	mkd da1/da2/da3/da
 	mkdir -p ${FS}db1/db2/db3/da/full
 	# Should fail (per the semantics of rename(2))
-	mv da1/da2/da3/da ${FS}db1/db2/db3
+	mv da1/da2/da3/da ${FS}db1/db2/db3 2>/dev/null
 	ckfail $?
 	ckd da da1/da2/da3/da
 	end
@@ -250,7 +250,7 @@ do
 	# Should fail per POSIX step 3b:
 	# Destination path is a file not of type directory
 	# and source_file is a file of type directory
-	mv da1/da2/da3/da ${FS}db1/db2/db3/da
+	mv da1/da2/da3/da ${FS}db1/db2/db3/da 2>/dev/null
 	ckfail $?
 	ckd da da1/da2/da3/da
 	end



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