diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2016-10-13 08:27:19 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2016-10-13 08:27:19 +0000 |
commit | ac3628603cad9a938ed9cc2ce9b2d6ab3aa791b9 (patch) | |
tree | 6d17188fafbf044ff895e626d8b1d44d587fcabb /contrib | |
parent | 12be6465254d89604c4294e8ef0a81ec0214e053 (diff) | |
download | src-ac3628603cad9a938ed9cc2ce9b2d6ab3aa791b9.tar.gz src-ac3628603cad9a938ed9cc2ce9b2d6ab3aa791b9.zip |
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
Notes
Notes:
svn path=/head/; revision=307204
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/netbsd-tests/fs/tmpfs/t_mount.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/fs/tmpfs/t_mount.sh b/contrib/netbsd-tests/fs/tmpfs/t_mount.sh index 11a77d49c24a..ec9d42f0f279 100755 --- a/contrib/netbsd-tests/fs/tmpfs/t_mount.sh +++ b/contrib/netbsd-tests/fs/tmpfs/t_mount.sh @@ -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 |