summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2010-01-03 09:31:33 +0000
committerobrien <obrien@FreeBSD.org>2010-01-03 09:31:33 +0000
commitd29fa0f85f75fbd9e2233b7c311e13f9402d6d62 (patch)
treebc10bf3742349815698d729b9ff22db0508ca3f2 /tools
parent447a847b688697e17ae4c241fa311e84df8a9689 (diff)
downloadFreeBSD-src-d29fa0f85f75fbd9e2233b7c311e13f9402d6d62.zip
FreeBSD-src-d29fa0f85f75fbd9e2233b7c311e13f9402d6d62.tar.gz
Hide expected error output so the 'prove -r' results are easy to read.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/mv/regress.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/regression/bin/mv/regress.sh b/tools/regression/bin/mv/regress.sh
index 9283a9f..d0a5e83 100644
--- a/tools/regression/bin/mv/regress.sh
+++ b/tools/regression/bin/mv/regress.sh
@@ -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
OpenPOWER on IntegriCloud