Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2016 08:27:20 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307204 - head/contrib/netbsd-tests/fs/tmpfs
Message-ID:  <201610130827.u9D8RK8L038894@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Oct 13 08:27:19 2016
New Revision: 307204
URL: https://svnweb.freebsd.org/changeset/base/307204

Log:
  Expect :large to fail on FreeBSD
  
  FreeBSD doesn't appear to validate large -o size values like
  NetBSD does
  
  MFC after:	2 weeks
  PR:		212862
  Sponsored by:	Dell EMC Isilon

Modified:
  head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh

Modified: head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh
==============================================================================
--- head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh	Thu Oct 13 08:09:40 2016	(r307203)
+++ head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh	Thu Oct 13 08:27:19 2016	(r307204)
@@ -93,7 +93,18 @@ negative_body() {
 	test_unmount
 }
 
+# Begin FreeBSD
+if true; then
+atf_test_case large cleanup
+large_cleanup() {
+	umount -f tmp 2>/dev/null
+}
+else
+# End FreeBSD
 atf_test_case large
+# Begin FreeBSD
+fi
+# End FreeBSD
 large_head() {
 	atf_set "descr" "Tests that extremely long values passed to -s" \
 	                "are handled correctly"
@@ -103,6 +114,10 @@ large_body() {
 	test_mount -o -s9223372036854775807
 	test_unmount
 
+	# Begin FreeBSD
+	atf_expect_fail "-o -s<large-size> succeeds unexpectedly on FreeBSD - bug 212862"
+	# End FreeBSD
+
 	mkdir tmp
 	atf_check -s eq:1 -o empty -e ignore \
 	    mount -t tmpfs -o -s9223372036854775808 tmpfs tmp



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